aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-04-02 18:52:13 +0000
committerlloyd <[email protected]>2008-04-02 18:52:13 +0000
commit8a5ffc5c6294786ad70f7a8fdd7606f411690ce9 (patch)
tree16b7d8d757e1ac6c8b2460d3e6a42768de466c8c /doc
parent91c318bbad1fcff1c9b04f1077fb4ec75d59a549 (diff)
Remove the Named_Mutex_Holder and associated code. Convert all uses to
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.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions