createOMOSSemaphore

This method creates a semaphore.

Visibility

Public

Signature
virtual OMOSSemaphore* createOMOSSemaphore(
   unsigned long semFlags = 0, unsigned long 
   initialCount = 1, unsigned long maxCount = 1, 
   const char * const name = NULL) = 0;
Parameters
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

Returns

The new semaphore


Feedback