Click or drag to resize

ThreadLoose class

Manages a static dictionary of names and lock objects. Locks and unlocks the object assigned to a name globally.
Inheritance hierarchy
SystemObject
  NetEti.GlobalsThreadLocker

Namespace: NetEti.Globals
Assembly: NetEti.Global (in NetEti.Global.dll) Version: 1.0.0+ad672dc5430e1683eae7461ce3945c8e9dce1c49
Syntax
public static class ThreadLocker

The ThreadLocker Type exposes the following members.

Methods
 NameDescription of the
Public MethodStatic MemberLockNameGlobal Locks an object internally assigned to the transferred name. The entry with the name and object is created beforehand if necessary.
Public MethodStatic MemberTryLockNameGlobal Attempts to lock an object internally assigned to the transferred name and returns true if the block has worked. The entry with the name and object is created beforehand if necessary.
Public MethodStatic MemberUnlockNameGlobal Unlocks an object internally assigned to the transferred name.
Back to the top
Remarks
File: ThreadLocker.cs Author: Erik Nagel 28/09/2013 Erik Nagel: created
See also