Public Member Functions
Create new spin lock object. The object is created unlocked.
Calling the desctructor on a locked spin lock object does not unlock the object. That must be done by calling unlock() before calling the destructor.
Create a lock. If the object is available it is locked immediately. If it is already locked by another thread, this function waits until the other thread has unlocked it, then creates the lock.
Release the current lock.
Attempt to lock the object. If the object is already locked by another thread, the function returns right away.
|Autodesk® Maya® 2010 © 1997-2009 Autodesk, Inc. All rights reserved.||Generated with 1.5.6|