final class · System.Threading
Lock
public final class Lock : Mutex
A lock with the names Enter, Exit and TryEnter.
- Kind
- final class
- Namespace
- System.Threading
- Assembly
- System.Core
- Access
- public, final
- Source file
Threading.ant
Inheritance
Constructors
new()
#
Methods
Inherited members (13)
Lockmethod from MutexUnlockmethod from MutexTryLockmethod from MutexWaitOnemethod from MutexReleaseMutexmethod from MutexRunmethod from MutexDisposemethod from Mutexdestroymethod from MutexHandleproperty from MutexGetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Any
Source
Lock as Antril, decompiled from its Larva HIR.
// System.Threading.Lock — System.Core (decompiled from Larva HIR)
into namespace System.Threading
{
/// A lock with the names Enter, Exit and TryEnter.
public final class Lock : Mutex
{
public:
new()
{
}
Enter()
{
Lock();
}
Exit()
{
Unlock();
}
TryEnter() : bool => TryLock();
}
}