Description


Include file: xmusem.h

Functions

XMutexSemaphore

Parameters

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

Remarks

Open a XMutexSemaphore
Create a XMutexSemaphore

Exceptions

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

Remarks

Crlose a XMutexSemaphore

Exceptions

If the method fails an exception of the type XSemaphoreException is thrown

Release

Remarks

Release a XMutexSemaphore, the next semaphore get access.

Exceptions

If the method fails an exception of the type XSemaphoreException is thrown

Request

Parameters

LONG timeout -1=wait endless
0 = return at once
other=time to wait max. (in milliseconds)

Remarks

Request a semaphore.

Exceptions

If the method fails an exception of the type XSemaphoreException is thrown


This document was generated by Jens von Pilgrim's Autodoc