Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

int phMutex::trylock  ) 
 

Try to acquire the mutex. (non-blocking)

Returns:
The success of acquisition.
Return values:
1 The mutex wasn't acquired because it is owned.
phSUCCESS The lock was acquired.
phFAIL The lock wasn't acquired because of a fatal error such as an error with the actual operating system call. This could happen because the object isn't allocated or initialized in the heap or stack. In some systems it's possible for the stack to be over run by allocating objects statically within a function.

Definition at line 420 of file phMutex.cpp.





Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:45:00 2007 for phission by  doxygen 1.4.4