|
paludis
Version 1.4.0
|
#include <mutex.hh>
Public Member Functions | |
| void | acquire_then_release_old (Mutex &) |
Basic operations | |
| Lock (Mutex &) | |
| ~Lock () | |
| void paludis::Lock::acquire_then_release_old | ( | Mutex & | ) |
Acquire a lock on the provided Mutex, and then release our previously owned lock.
Use with caution – this is a good way of creating deadlocks.
1.8.3.1