This method creates a semaphore.
Public
virtual OMOSSemaphore* createOMOSSemaphore(
unsigned long semFlags = 0, unsigned long
initialCount = 1, unsigned long maxCount = 1,
const char * const name = NULL) = 0;
semFlags
The semaphore flags
initialCount
The initial count of tokens available on the semaphore
maxCount
The maximum number of tokens
name
The name of the semaphore
The new semaphore