DosCreateMutexSem creates a mutual exclusion (mutex) semaphore, and opens it for all of the threads in the current process.