Public Member Functions | |
this (Lock lock) | |
~this () | |
Private Attributes | |
Lock | lock |
void example(Lock lock) { auto ScopedLock slock = new ScopedLock(lock); // acquires lock // the lock will be released at function exit }
Definition at line 204 of file Lock.d.
|
Definition at line 206 of file Lock.d. References lock, and Lock::unlock(). |
|
Definition at line 205 of file Lock.d. References Lock::lock(), and lock. |
|
|