Adds a mutex semaphore or an event semaphore to a muxwait-semaphore list.

#define INCL_DOSSEMAPHORES
#include <os2.h>

HMUX          hmux;     /*  The handle of the muxwait semaphore that is to receive the additional semaphore. */
PSEMRECORD    pSemRec;  /*  A pointer to the semaphore record that is to be added to the muxwait list. */
APIRET        ulrc;     /*  Return Code. */

ulrc = DosAddMuxWaitSem(hmux, pSemRec);


[Back] [Next]