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 Class

A synchronization primitive than can also be used for interprocess synchronization.

Wait 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.

Object
   WaitHandle
      Mutex

[Visual Basic]
NotInheritable Public Class Mutex
   Inherits WaitHandle
[C#]
public sealed class Mutex : WaitHandle
[C++]
public __gc __sealed class Mutex : public WaitHandle
[JScript]
public class Mutex extends WaitHandle

Remarks

[To be supplied.]

Requirements

Namespace: System.Threading

Assembly: mscorlib.dll

See Also

Mutex Members | System.Threading Namespace