TinyLockLock Method

Acquires an exclusive lock on this class. Place call in a using block. Duplicate calls to this within the same thread will cause a deadlock.

Definition

Namespace: SnapDB.Threading
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e

Return Value

TinyLockTinyLockRelease
A structure that will release the lock. This struct will always be the exact same value. Therefore it can be stored once if desired, however, be careful when using it this way as inproper synchronization will be easier to occur.

See Also