DosCreateMuxWaitSem creates a multiple wait (muxwait) semaphore, and opens it for all of the threads in the current process.