Created by Scott Robert Ladd at Coyote Gulch Productions.
#include <itzam_common.h>
Inheritance diagram for itzam::simple_mutex:

|
|
Creates a new simple_mutex, with the lock set to false. |
|
|
Does nothing. |
|
|
Attempts to lock a database resource. If the resource is already locked, this function should block, calling sleep() and then attempting to lock the resource again. Implements itzam::mutex. |
|
|
This function calls the SUSv2 version of usleep() to enable other processes to run while the calling process is waiting for a resource to be released. Implements itzam::mutex. |
|
|
Unlock a database resource, allowing other processes access. Implements itzam::mutex. |
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.