Boost logo

Threads-Devel :

Subject: [Threads-devel] Mutable/Promotable Recursive Mutex
From: Jean-Marc OLIVIERI (jmolivieri_at_[hidden])
Date: 2013-01-07 11:14:42

I made new kind of mutex based on upgrade_mutex. With this mutex one can ask to promote his access from shared to exclusive.
It is recursive. It has some extra enhancements: fair locking and what I called a main thread : I mean a thread to process in priority.

I didn't implement all the functions because

* I didn't need them

* I ran out of time

But if you like it feel free to add to the library.
Mention my name would be nice.

Here are all the details + source code :

Best regards,

Threads-Devel list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at