Description |
XMutexSemaphore |
char * name name of the semaphore WITHOUT leading '\\SEM32'
char * name | name of the semaphore WITHOUT leading '\\SEM32' |
BOOL shared | if shared or not |
BOOL owned | TRUE=initial state is owned FALSE=initial state is not owned |
Open a XMutexSemaphore
Create a XMutexSemaphore
If the method fails an exception of the type XSemaphoreException is thrown
If the method fails an exception of the type XSemaphoreException is thrown
Close |
Crlose a XMutexSemaphore
If the method fails an exception of the type XSemaphoreException is thrown
Release |
Release a XMutexSemaphore, the next semaphore get access.
If the method fails an exception of the type XSemaphoreException is thrown
Request |
LONG timeout | -1=wait endless 0 = return at once other=time to wait max. (in milliseconds) |
Request a semaphore.
If the method fails an exception of the type XSemaphoreException is thrown