Click or drag to resize

SlimLock Methods

The SlimLock type exposes the following members.

Methods
  NameDescription
Public methodEnter
Acquires the lock. If the lock can be acquired immediately it does so. In the event that the lock can not be acquired the lock will use a spin-lock algorithm to acquire the lock.
Public methodEnter(Int32)
Acquires the lock. If the lock can be acquired immediately it does so. In the event that the lock can not be acquired the lock will use a spin-lock algorithm to acquire the lock.
Public methodRelease
Releases the lock, allowing waiters to proceed.
Public methodStatic memberSmartWait(Int32)
Public methodStatic memberSmartWait(Int32, Int64)
Top
See Also