version 1.10.4.1, 2008/04/22 11:58:15
|
version 1.13, 2008/08/15 17:24:52
|
|
|
| |
void lock(); | void lock(); |
| |
void try_lock(); |
/** |
|
Attempts to lock the mutex without blocking. |
|
@return A Boolean indicating whether the lock was acquired. |
|
*/ |
|
Boolean try_lock(); |
| |
void timed_lock(Uint32 milliseconds); |
/** |
|
Attempts to lock the mutex within the specified time. |
|
@param milliseconds The maximum time to block while attempting to |
|
acquire the lock. |
|
@return A Boolean indicating whether the lock was acquired. |
|
*/ |
|
Boolean timed_lock(Uint32 milliseconds); |
| |
void unlock(); | void unlock(); |
| |