Created on 2009-09-30.00:00:00 last changed 172 months ago
Rationale:
condition_variable_any::wait accepts any type of mutex. It calls unlock precisely once on entry and lock precisely once on exit. It is up to the user to ensure that this provides the required synchronization. Use of a recursive mutex is safe if either its lock count is 1, so after the single unlock it can be acquired by another thread, or another mechanism is used to synchronize the data.
[ 2009-11-17 Moved to Tentatively NAD after 5 positive votes on c++std-lib. Rationale added below. ]
For condition_variable_any, are recursive mutexes allowed? (I think "no")
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg1213 |
2010-10-21 18:28:33 | admin | set | messages: + msg1212 |
2009-09-30 00:00:00 | admin | create |