Files
mongo/util/concurrency
2011-03-01 13:10:32 -05:00
..
2011-01-04 00:40:41 -05:00
2011-01-04 00:40:41 -05:00
2011-02-09 00:04:53 -05:00
2011-01-04 00:40:41 -05:00
2011-01-08 15:01:04 -05:00
2011-03-01 02:37:58 -05:00
2011-01-05 00:44:06 -05:00
2011-01-04 00:40:41 -05:00
2011-01-04 00:40:41 -05:00
2011-01-04 00:40:41 -05:00
2011-01-04 00:40:41 -05:00
2011-01-04 00:40:41 -05:00
2011-01-04 00:40:41 -05:00
2011-01-04 00:40:41 -05:00
2011-01-04 00:40:41 -05: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
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
thread_pool.h 
spinlock.h
synchronization.h 
 A class to establish a sinchronization point between two threads. One thread is the waiter and one 
 is the notifier. After the notification event, both proceed normally.