Click or drag to resize

InterprocessLock Class

Defines helper methods related to inter-process locking.
Inheritance Hierarchy
SystemObject
  GSF.ThreadingInterprocessLock

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public static class InterprocessLock
View Source

The InterprocessLock type exposes the following members.

Methods
 NameDescription
Public methodStatic memberGetNamedMutex(Boolean) Gets a uniquely named inter-process Mutex associated with the running application, typically used to detect whether an instance of the application is already running.
Public methodStatic memberGetNamedMutex(String) Gets a uniquely named inter-process Mutex associated with the specified name that identifies a source object needing concurrency locking.
Public methodStatic memberGetNamedSemaphore(Boolean, Int32, Int32) Gets a uniquely named inter-process Semaphore associated with the running application, typically used to detect whether some number of instances of the application are already running.
Public methodStatic memberGetNamedSemaphore(String, Int32, Int32) Gets a uniquely named inter-process Semaphore associated with the specified name that identifies a source object needing concurrency locking.
Top
See Also