DosWaitMuxWaitSem enables a thread to wait for a muxwait semaphore to clear.
This function can be issued by any thread in the process that created the semaphore. Threads in other processes can also issue this function, but they must first gain access to the semaphore by issuing DosOpenMuxWaitSem.