aboutsummaryrefslogtreecommitdiffstats
path: root/include/mutex.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove the Named_Mutex_Holder and associated code. Convert all uses tolloyd2008-04-021-12/+0
| | | | | | | | | | | | | | instead allocate a reference to a mutex locally and use the more typical Mutex_Holder RAII object. Named_Mutex_Holder (and in particular the string->mutex mappings contained in the global state) have been found to be pretty expensive in at least some situations (see post by Jack Cummings to monotone-devel 2008-03-12), and doesn't really buy us that much in terms of ease of use. Also, it relies on the global state object, which has shown itself to be a rich source of race conditions and locking bugs. The intent is to incrementally remove all of the shared / global state and require applications to maintain that state where necessary.
* Mostly revert 2f4fd18182d5a75c40cd831e7ee3c314be5c57d6, only keep thelloyd2008-03-101-1/+1
| | | | | updated dates on files that have actually changed this year. This makes the diff across versions readable again.
* Mass update of the copyright date. Honestly I don't know why I bother,lloyd2008-02-141-1/+1
| | | | | | | but might as well keep it up to date. And it's easier to do it once with a 'perl -pi' command than to update each file over time. Apologies to anyone looking at diffs.
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* Make Mutex_Factory an abstract class, move the creation of the no-oplloyd2006-07-071-1/+10
| | | | Default_Mutex to the new Default_Mutex_Factory
* Support named mutexes outside of the global library state.lloyd2006-06-251-4/+16
| | | | | | Alter the AEP engine to use one in favor of a static Mutex pointer. Fix a stupid typo in an exception message.
* Initial checkin1.5.6lloyd2006-05-181-0/+48