#include <Inventor/threads/SbMutex.h>
This class provides a portable framework around the mutex interface of the underlying native thread-handling toolkit.
Public Member Functions | |
| SbMutex (void) | |
| ~SbMutex (void) | |
| int | lock (void) |
| SbBool | tryLock (void) |
| int | unlock (void) |
Friends | |
| class | SbCondVar |
|
|
Constructor. |
|
|
Destructor. |
|
|
This method locks the mutex. |
|
|
This method tries to lock the mutex, and returns whether it was locked or not. This is a non-blocking operation. |
|
|
This method unlocks the mutex. |
1.3.6