Ignore:
Timestamp:
Jul 2, 2013, 4:05:46 AM (10 years ago)
Author:
Peter
Message:

mention that copy and assignment are not thread safe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/Queue.h

    r3060 r3061  
    4141     there is no point in using the class as std::queue should be
    4242     prefereble.
     43
     44     \note Copy constructor and assignment are available but they are
     45     not thread safe in the current implementation.
    4346
    4447     \since New in yat 0.11
     
    130133    mutable boost::mutex mutex_;
    131134    boost::condition_variable condition_;
     135
     136    // Using compiler generated (not thread safe) copy and assignment
     137    //Queue(const Queue&);
     138    //Queue& operator=(const Queue&);
    132139  };
    133140
Note: See TracChangeset for help on using the changeset viewer.