NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Mutex Concepts

Synchronization primitive that can also be used for interprocess synchronization.

WaitOne, WaitAll, and WaitAny can be used to request ownership of the mutex. The state of the mutex is signaled if no thread owns it.

The thread that owns a mutex can specify the same mutex in repeated wait function calls without blocking its execution. It must release the mutex as many times to release ownership.

If a thread terminates normally while owning a mutex, the state of the mutex is set to signaled and the next waiting thread gets ownership.