Lock objects lock their creator at construction time and unlock it when they themselves go out of scope. This assures that the lock is released regardless of how a locking block was exited.
Lock instance will be invalidated.
Public Member Functions | |
| Lock (Lock &) | |
| Lock & | operator= (Lock &) |
| void | release () |
| releases the lock | |
| ~Lock () | |
|
|
|
|
|
|
|
|
|
|
|
releases the lock
This function may be used to release the lock at an earlier time than this
|
1.4.3