unlock functions allow a user to
specify exclusive or shared access to a resource.
1 2 3
an object derived from class mutex.
options associated with the mutex being used including
A call to
lock gives exclusive access to a resource; no other
mutex may acquire a lock. A call to to
lock.shared allows other
mutexes to acquire a shared lock on the resource. When shared lock is
called while a exclusive lock has been acquired, the shared lock will
block until the exclusive lock is release. Likewise, if an exclusive lock
is called while a shared lock has been acquired, the exclusive lock will
block until the shared lock is released.
The function returns
TRUE if the lock is successfully called and
Michael J. Kane <firstname.lastname@example.org>
1 2 3 4