Files
mongo/util/concurrency
2010-07-02 17:23:25 -04:00
..
2010-05-26 00:46:49 -04:00
2010-06-29 15:52:35 -04:00
2010-07-02 17:23:25 -04:00
2010-07-01 17:54:08 -04:00
2010-07-01 17:54:08 -04:00
2010-06-02 14:25:02 -04:00
2010-06-29 15:52:35 -04:00
rs
2010-06-22 20:05:11 -04:00
2010-07-01 17:52:07 -04:00
2010-07-01 17:52:07 -04:00
2010-06-02 17:15:31 -04:00

util/concurrency/ files

list.h - a list class that is lock-free for reads
rwlock.h - read/write locks (RWLock)
msg.h - message passing between threads
task.h - an abstraction around threads
mutex.h - small enhancements that wrap boost::mutex
thread_pool.h 
mvar.h
 This is based on haskell's MVar synchronization primitive:
 http://www.haskell.org/ghc/docs/latest/html/libraries/base-4.2.0.0/Control-Concurrent-MVar.html
 It is a thread-safe queue that can hold at most one object.
 You can also think of it as a box that can be either full or empty.
value.h
 Atomic wrapper for values/objects that are copy constructable / assignable