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 Reference

public sealed class Mutex : WaitHandle
{
  public Mutex(bool initiallyOwned, String name);
  public Mutex(bool initiallyOwned);
  public Mutex();
  public void ReleaseMutex();
} 

Mutex

public Mutex()              ==  Mutex(false, null)
public Mutex(bool initiallyOwned)      ==  Mutex(initiallyOwned, null)
public Mutex (bool initiallyOwned,    String name)  

If true, and the caller created the OS mutex, it owns the created mutex. Ignored if the named OS mutex already existed.

Name of the mutex, can be null

ReleaseMutex

Releases the mutex once.