Ticket #6531 (closed Bugs: fixed)
error in doc: interprocess/synchronization_mechanisms
|Reported by:||anonymous||Owned by:||igaztanaga|
|Milestone:||To Be Determined||Component:||interprocess|
quote 1 from
Upgradable Mutexes / What's An Upgradable Mutex? / Upgradable lock:
(...)If a thread acquires an upgradable lock, other threads can acquire a sharable lock.(...)
quote 2 from
Upgradable Mutexes / Upgradable Mutex Operations / Sharable Locking:
Effects: The calling thread tries to obtain sharable ownership of the mutex, and if another thread has exclusive or upgradable ownership of the mutex, waits until it can obtain the ownership.
- (false for upgradable ownership)
in lock_sharable(), try_lock_sharable(), timed_lock_sharable() etc.