RingDotNetfor Ring

System.Threading

56 wrapped types. Load them with using { "System.Threading" }. Click a class to open it.

AbandonedMutexException class · extends SystemException

System.Threading.AbandonedMutexException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new AbandonedMutexException()
new AbandonedMutexException(string message)
new AbandonedMutexException(string message, Exception inner)
new AbandonedMutexException(int location, WaitHandle handle)
new AbandonedMutexException(string message, int location, WaitHandle handle)
new AbandonedMutexException(string message, Exception inner, int location, WaitHandle handle)

Ring: new AbandonedMutexException(args) uses one constructor; the others are chosen by the parameter names: new AbandonedMutexException().@New([ :param = value ]) or dnNew("AbandonedMutexException",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
MutexMutexreado.Mutex
MutexIndexintreado.MutexIndex

Members of the base class are inherited.

AsyncFlowControl struct

System.Threading.AsyncFlowControl · assembly System.Private.CoreLib

Implements: IDisposable

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
EqualsEquals(p1)bool Equals(object obj)
bool Equals(AsyncFlowControl obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
UndocallMethod("Undo",[])void Undo()
AsyncLocal class sealed

System.Threading.AsyncLocal`1 · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
ValueTread, writeo.Value o.Value = v
AsyncLocalValueChangedArgs struct

System.Threading.AsyncLocalValueChangedArgs`1 · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
PreviousValueTreado.PreviousValue
CurrentValueTreado.CurrentValue
ThreadContextChangedboolreado.ThreadContextChanged
AutoResetEvent class sealed · extends EventWaitHandle

System.Threading.AutoResetEvent · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new AutoResetEvent(bool initialState)

Ring: new AutoResetEvent(args) uses one constructor; the others are chosen by the parameter names: new AutoResetEvent().@New([ :param = value ]) or dnNew("AutoResetEvent",[ :param = value ]).

Members of the base class are inherited.

Barrier class

System.Threading.Barrier · assembly System.Threading

Implements: IDisposable

Constructors

new Barrier(int participantCount)
new Barrier(int participantCount, Action<Barrier> postPhaseAction)

Ring: new Barrier(args) uses one constructor; the others are chosen by the parameter names: new Barrier().@New([ :param = value ]) or dnNew("Barrier",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ParticipantsRemainingintreado.ParticipantsRemaining
ParticipantCountintreado.ParticipantCount
CurrentPhaseNumberlongreado.CurrentPhaseNumber

Methods

MethodRing call.NET overloads
AddParticipantcallMethod("AddParticipant",[])long AddParticipant()
AddParticipantscallMethod("AddParticipants",[p1])long AddParticipants(int participantCount)
DisposecallMethod("Dispose",[])void Dispose()
RemoveParticipantcallMethod("RemoveParticipant",[])void RemoveParticipant()
RemoveParticipantscallMethod("RemoveParticipants",[p1])void RemoveParticipants(int participantCount)
SignalAndWaitSignalAndWait(NULL)
SignalAndWait(value)
SignalAndWait([ :cancellationToken = … ])
SignalAndWait([ :timeout = … ])
SignalAndWait([ :millisecondsTimeout = … ])
SignalAndWait([ :timeout = …, :cancellationToken = … ])
void SignalAndWait()
void SignalAndWait(CancellationToken cancellationToken)
bool SignalAndWait(TimeSpan timeout)
bool SignalAndWait(TimeSpan timeout, CancellationToken cancellationToken)
bool SignalAndWait(int millisecondsTimeout)
bool SignalAndWait(int millisecondsTimeout, CancellationToken cancellationToken)
BarrierPostPhaseException class · extends Exception

System.Threading.BarrierPostPhaseException · assembly System.Threading

Implements: ISerializable

Constructors

new BarrierPostPhaseException()
new BarrierPostPhaseException(Exception innerException)
new BarrierPostPhaseException(string message)
new BarrierPostPhaseException(string message, Exception innerException)

Ring: new BarrierPostPhaseException(args) uses one constructor; the others are chosen by the parameter names: new BarrierPostPhaseException().@New([ :param = value ]) or dnNew("BarrierPostPhaseException",[ :param = value ]).

Members of the base class are inherited.

CancellationToken struct

System.Threading.CancellationToken · assembly System.Private.CoreLib

Constructors

new CancellationToken(bool canceled)

Ring: new CancellationToken(args) uses one constructor; the others are chosen by the parameter names: new CancellationToken().@New([ :param = value ]) or dnNew("CancellationToken",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsCancellationRequestedboolreado.IsCancellationRequested
CanBeCanceledboolreado.CanBeCanceled
WaitHandleWaitHandlereado.WaitHandle
NoneCancellationTokenread · statico.None

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(CancellationToken other)
bool Equals(object other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
RegisterRegister(value)
Register([ :callback = … ])
Register([ :callback = …, :useSynchronizationContext = … ])
Register([ :callback = …, :state = … ])
Register([ :callback = …, :state = …, :useSynchronizationContext = … ])
CancellationTokenRegistration Register(Action callback)
CancellationTokenRegistration Register(Action callback, bool useSynchronizationContext)
CancellationTokenRegistration Register(Action<object> callback, object state)
CancellationTokenRegistration Register(Action<object, CancellationToken> callback, object state)
CancellationTokenRegistration Register(Action<object> callback, object state, bool useSynchronizationContext)
ThrowIfCancellationRequestedcallMethod("ThrowIfCancellationRequested",[])void ThrowIfCancellationRequested()
UnsafeRegistercallMethod("UnsafeRegister",[p1,p2])CancellationTokenRegistration UnsafeRegister(Action<object> callback, object state)
CancellationTokenRegistration UnsafeRegister(Action<object, CancellationToken> callback, object state)
CancellationTokenRegistration struct

System.Threading.CancellationTokenRegistration · assembly System.Private.CoreLib

Implements: IDisposable, IAsyncDisposable

Properties and fields

NameTypeAccessIn Ring
TokenCancellationTokenreado.Token

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
EqualsEquals(p1)bool Equals(object obj)
bool Equals(CancellationTokenRegistration other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
UnregistercallMethod("Unregister",[])bool Unregister()
CancellationTokenSource class

System.Threading.CancellationTokenSource · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new CancellationTokenSource()
new CancellationTokenSource(TimeSpan delay)
new CancellationTokenSource(TimeSpan delay, TimeProvider timeProvider)
new CancellationTokenSource(int millisecondsDelay)

Ring: new CancellationTokenSource(args) uses one constructor; the others are chosen by the parameter names: new CancellationTokenSource().@New([ :param = value ]) or dnNew("CancellationTokenSource",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsCancellationRequestedboolreado.IsCancellationRequested
TokenCancellationTokenreado.Token

Methods

MethodRing call.NET overloads
CancelcallMethod("Cancel",[])
callMethod("Cancel",[p1])
void Cancel()
void Cancel(bool throwOnFirstException)
CancelAfterCancelAfter(p1)void CancelAfter(TimeSpan delay)
void CancelAfter(int millisecondsDelay)
CancelAsynccallMethod("CancelAsync",[])Task CancelAsync()
CreateLinkedTokenSourceCreateLinkedTokenSource(value)
CreateLinkedTokenSource([ :token = … ])
CreateLinkedTokenSource([ :tokens = … ])
CreateLinkedTokenSource([ :token1 = …, :token2 = … ])
static CancellationTokenSource CreateLinkedTokenSource(CancellationToken token1, CancellationToken token2)
static CancellationTokenSource CreateLinkedTokenSource(CancellationToken token)
static CancellationTokenSource CreateLinkedTokenSource(CancellationToken[] tokens)
static CancellationTokenSource CreateLinkedTokenSource(ReadOnlySpan<CancellationToken> tokens)
DisposecallMethod("Dispose",[])void Dispose()
TryResetcallMethod("TryReset",[])bool TryReset()
CompressedStack class sealed

System.Threading.CompressedStack · assembly System.Private.CoreLib

Implements: ISerializable

Methods

MethodRing call.NET overloads
CaptureCapture()static CompressedStack Capture()
CreateCopycallMethod("CreateCopy",[])CompressedStack CreateCopy()
GetCompressedStackGetCompressedStack()static CompressedStack GetCompressedStack()
GetObjectDataGetObjectData(p1,p2)void GetObjectData(SerializationInfo info, StreamingContext context)
RunRun(p1,p2,p3)static void Run(CompressedStack compressedStack, ContextCallback callback, object state)
CountdownEvent class

System.Threading.CountdownEvent · assembly System.Threading

Implements: IDisposable

Constructors

new CountdownEvent(int initialCount)

Ring: new CountdownEvent(args) uses one constructor; the others are chosen by the parameter names: new CountdownEvent().@New([ :param = value ]) or dnNew("CountdownEvent",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CurrentCountintreado.CurrentCount
InitialCountintreado.InitialCount
IsSetboolreado.IsSet
WaitHandleWaitHandlereado.WaitHandle

Methods

MethodRing call.NET overloads
AddCountcallMethod("AddCount",[])
callMethod("AddCount",[p1])
void AddCount()
void AddCount(int signalCount)
DisposecallMethod("Dispose",[])void Dispose()
ResetcallMethod("Reset",[])
callMethod("Reset",[p1])
void Reset()
void Reset(int count)
SignalcallMethod("Signal",[])
callMethod("Signal",[p1])
bool Signal()
bool Signal(int signalCount)
TryAddCountcallMethod("TryAddCount",[])
callMethod("TryAddCount",[p1])
bool TryAddCount()
bool TryAddCount(int signalCount)
WaitWait(NULL)
Wait(value)
Wait([ :cancellationToken = … ])
Wait([ :timeout = … ])
Wait([ :millisecondsTimeout = … ])
Wait([ :timeout = …, :cancellationToken = … ])
void Wait()
void Wait(CancellationToken cancellationToken)
bool Wait(TimeSpan timeout)
bool Wait(TimeSpan timeout, CancellationToken cancellationToken)
bool Wait(int millisecondsTimeout)
bool Wait(int millisecondsTimeout, CancellationToken cancellationToken)
EventWaitHandle class · extends WaitHandle

System.Threading.EventWaitHandle · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new EventWaitHandle(bool initialState, EventResetMode mode)
new EventWaitHandle(bool initialState, EventResetMode mode, string name)
new EventWaitHandle(bool initialState, EventResetMode mode, string name, out bool createdNew)

Ring: new EventWaitHandle(args) uses one constructor; the others are chosen by the parameter names: new EventWaitHandle().@New([ :param = value ]) or dnNew("EventWaitHandle",[ :param = value ]).

Methods

MethodRing call.NET overloads
OpenExistingOpenExisting(p1)static EventWaitHandle OpenExisting(string name)
ResetcallMethod("Reset",[])bool Reset()
SetcallMethod("Set",[])bool Set()
TryOpenExistingTryOpenExisting(p1)static bool TryOpenExisting(string name, out EventWaitHandle result)

Members of the base class are inherited.

ExecutionContext class sealed

System.Threading.ExecutionContext · assembly System.Private.CoreLib

Implements: IDisposable, ISerializable

Methods

MethodRing call.NET overloads
CaptureCapture()static ExecutionContext Capture()
CreateCopycallMethod("CreateCopy",[])ExecutionContext CreateCopy()
DisposecallMethod("Dispose",[])void Dispose()
GetObjectDataGetObjectData(p1,p2)void GetObjectData(SerializationInfo info, StreamingContext context)
IsFlowSuppressedcallMethod("IsFlowSuppressed",[])static bool IsFlowSuppressed()
RestoreRestore(p1)static void Restore(ExecutionContext executionContext)
RestoreFlowcallMethod("RestoreFlow",[])static void RestoreFlow()
RunRun(p1,p2,p3)static void Run(ExecutionContext executionContext, ContextCallback callback, object state)
SuppressFlowSuppressFlow()static AsyncFlowControl SuppressFlow()
HostExecutionContext class

System.Threading.HostExecutionContext · assembly System.Threading

Implements: IDisposable

Constructors

new HostExecutionContext()
new HostExecutionContext(object state)

Ring: new HostExecutionContext(args) uses one constructor; the others are chosen by the parameter names: new HostExecutionContext().@New([ :param = value ]) or dnNew("HostExecutionContext",[ :param = value ]).

Methods

MethodRing call.NET overloads
CreateCopycallMethod("CreateCopy",[])HostExecutionContext CreateCopy()
DisposecallMethod("Dispose",[])
callMethod("Dispose",[p1])
void Dispose()
void Dispose(bool disposing)
HostExecutionContextManager class

System.Threading.HostExecutionContextManager · assembly System.Threading

Constructors

new HostExecutionContextManager()

Ring: new HostExecutionContextManager(args) uses one constructor; the others are chosen by the parameter names: new HostExecutionContextManager().@New([ :param = value ]) or dnNew("HostExecutionContextManager",[ :param = value ]).

Methods

MethodRing call.NET overloads
CapturecallMethod("Capture",[])HostExecutionContext Capture()
RevertRevert(p1)void Revert(object previousState)
SetHostExecutionContextcallMethod("SetHostExecutionContext",[p1])object SetHostExecutionContext(HostExecutionContext hostExecutionContext)
Interlocked class static

System.Threading.Interlocked · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
AddAdd(p1,p2)static int Add(ref int location1, int value)
static long Add(ref long location1, long value)
static uint Add(ref uint location1, uint value)
static ulong Add(ref ulong location1, ulong value)
And@And(p1,p2)static int And(ref int location1, int value)
static uint And(ref uint location1, uint value)
static long And(ref long location1, long value)
static ulong And(ref ulong location1, ulong value)
CompareExchangeCompareExchange(p1,p2,p3)static int CompareExchange(ref int location1, int value, int comparand)
static long CompareExchange(ref long location1, long value, long comparand)
static object CompareExchange(ref object location1, object value, object comparand)
static sbyte CompareExchange(ref sbyte location1, sbyte value, sbyte comparand)
static short CompareExchange(ref short location1, short value, short comparand)
static byte CompareExchange(ref byte location1, byte value, byte comparand)
static ushort CompareExchange(ref ushort location1, ushort value, ushort comparand)
static uint CompareExchange(ref uint location1, uint value, uint comparand)
static ulong CompareExchange(ref ulong location1, ulong value, ulong comparand)
static float CompareExchange(ref float location1, float value, float comparand)
static double CompareExchange(ref double location1, double value, double comparand)
static IntPtr CompareExchange(ref IntPtr location1, IntPtr value, IntPtr comparand)
static UIntPtr CompareExchange(ref UIntPtr location1, UIntPtr value, UIntPtr comparand)
static T CompareExchange<T>(ref T location1, T value, T comparand)
DecrementDecrement(p1)static int Decrement(ref int location)
static long Decrement(ref long location)
static uint Decrement(ref uint location)
static ulong Decrement(ref ulong location)
ExchangeExchange(p1,p2)static int Exchange(ref int location1, int value)
static long Exchange(ref long location1, long value)
static object Exchange(ref object location1, object value)
static sbyte Exchange(ref sbyte location1, sbyte value)
static short Exchange(ref short location1, short value)
static byte Exchange(ref byte location1, byte value)
static ushort Exchange(ref ushort location1, ushort value)
static uint Exchange(ref uint location1, uint value)
static ulong Exchange(ref ulong location1, ulong value)
static float Exchange(ref float location1, float value)
static double Exchange(ref double location1, double value)
static IntPtr Exchange(ref IntPtr location1, IntPtr value)
static UIntPtr Exchange(ref UIntPtr location1, UIntPtr value)
static T Exchange<T>(ref T location1, T value)
IncrementIncrement(p1)static int Increment(ref int location)
static long Increment(ref long location)
static uint Increment(ref uint location)
static ulong Increment(ref ulong location)
MemoryBarriercallMethod("MemoryBarrier",[])static void MemoryBarrier()
MemoryBarrierProcessWidecallMethod("MemoryBarrierProcessWide",[])static void MemoryBarrierProcessWide()
Or@Or(p1,p2)static int Or(ref int location1, int value)
static uint Or(ref uint location1, uint value)
static long Or(ref long location1, long value)
static ulong Or(ref ulong location1, ulong value)
ReadcallMethod("Read",[p1])static long Read(ref long location)
static ulong Read(ref ulong location)
IThreadPoolWorkItem interface

System.Threading.IThreadPoolWorkItem · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
ExecutecallMethod("Execute",[])void Execute()
ITimer interface

System.Threading.ITimer · assembly System.Private.CoreLib

Implements: IDisposable, IAsyncDisposable

Methods

MethodRing call.NET overloads
ChangeChange(p1,p2)bool Change(TimeSpan dueTime, TimeSpan period)
LazyInitializer class static

System.Threading.LazyInitializer · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
EnsureInitializedEnsureInitialized(value)
EnsureInitialized([ :target = … ])
EnsureInitialized([ :target = …, :valueFactory = … ])
EnsureInitialized([ :target = …, :initialized = …, :syncLock = … ])
EnsureInitialized([ :target = …, :syncLock = …, :valueFactory = … ])
static T EnsureInitialized<T>(ref T target)
static T EnsureInitialized<T>(ref T target, Func<T> valueFactory)
static T EnsureInitialized<T>(ref T target, ref bool initialized, ref object syncLock)
static T EnsureInitialized<T>(ref T target, ref bool initialized, ref object syncLock, Func<T> valueFactory)
static T EnsureInitialized<T>(ref T target, ref object syncLock, Func<T> valueFactory)
Lock class sealed

System.Threading.Lock · assembly System.Private.CoreLib

Constructors

new Lock()

Ring: new Lock(args) uses one constructor; the others are chosen by the parameter names: new Lock().@New([ :param = value ]) or dnNew("Lock",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsHeldByCurrentThreadboolreado.IsHeldByCurrentThread

Methods

MethodRing call.NET overloads
EntercallMethod("Enter",[])void Enter()
EnterScopecallMethod("EnterScope",[])Lock.Scope EnterScope()
ExitcallMethod("Exit",[])void Exit()
TryEntercallMethod("TryEnter",[])
callMethod("TryEnter",[p1])
bool TryEnter()
bool TryEnter(int millisecondsTimeout)
bool TryEnter(TimeSpan timeout)
LockCookie struct

System.Threading.LockCookie · assembly System.Threading

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object obj)
bool Equals(LockCookie obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
LockRecursionException class · extends Exception

System.Threading.LockRecursionException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new LockRecursionException()
new LockRecursionException(string message)
new LockRecursionException(string message, Exception innerException)

Ring: new LockRecursionException(args) uses one constructor; the others are chosen by the parameter names: new LockRecursionException().@New([ :param = value ]) or dnNew("LockRecursionException",[ :param = value ]).

Members of the base class are inherited.

ManualResetEvent class sealed · extends EventWaitHandle

System.Threading.ManualResetEvent · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new ManualResetEvent(bool initialState)

Ring: new ManualResetEvent(args) uses one constructor; the others are chosen by the parameter names: new ManualResetEvent().@New([ :param = value ]) or dnNew("ManualResetEvent",[ :param = value ]).

Members of the base class are inherited.

ManualResetEventSlim class

System.Threading.ManualResetEventSlim · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new ManualResetEventSlim()
new ManualResetEventSlim(bool initialState)
new ManualResetEventSlim(bool initialState, int spinCount)

Ring: new ManualResetEventSlim(args) uses one constructor; the others are chosen by the parameter names: new ManualResetEventSlim().@New([ :param = value ]) or dnNew("ManualResetEventSlim",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
WaitHandleWaitHandlereado.WaitHandle
IsSetboolreado.IsSet
SpinCountintreado.SpinCount

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
ResetcallMethod("Reset",[])void Reset()
SetcallMethod("Set",[])void Set()
WaitWait(NULL)
Wait(value)
Wait([ :cancellationToken = … ])
Wait([ :timeout = … ])
Wait([ :millisecondsTimeout = … ])
Wait([ :timeout = …, :cancellationToken = … ])
void Wait()
void Wait(CancellationToken cancellationToken)
bool Wait(TimeSpan timeout)
bool Wait(TimeSpan timeout, CancellationToken cancellationToken)
bool Wait(int millisecondsTimeout)
bool Wait(int millisecondsTimeout, CancellationToken cancellationToken)
Monitor class static

System.Threading.Monitor · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
LockContentionCountlongread · statico.LockContentionCount

Methods

MethodRing call.NET overloads
EnterEnter(value)
Enter([ :obj = … ])
Enter([ :obj = …, :lockTaken = … ])
static void Enter(object obj)
static void Enter(object obj, ref bool lockTaken)
Exit@Exit(p1)static void Exit(object obj)
IsEnteredIsEntered(p1)static bool IsEntered(object obj)
PulsePulse(p1)static void Pulse(object obj)
PulseAllPulseAll(p1)static void PulseAll(object obj)
TryEnterTryEnter(value)
TryEnter([ :obj = … ])
TryEnter([ :obj = …, :lockTaken = … ])
TryEnter([ :obj = …, :millisecondsTimeout = … ])
TryEnter([ :obj = …, :timeout = … ])
static bool TryEnter(object obj)
static void TryEnter(object obj, ref bool lockTaken)
static bool TryEnter(object obj, int millisecondsTimeout)
static void TryEnter(object obj, int millisecondsTimeout, ref bool lockTaken)
static bool TryEnter(object obj, TimeSpan timeout)
static void TryEnter(object obj, TimeSpan timeout, ref bool lockTaken)
WaitWait(value)
Wait([ :obj = … ])
Wait([ :obj = …, :millisecondsTimeout = … ])
Wait([ :obj = …, :timeout = … ])
Wait([ :obj = …, :millisecondsTimeout = …, :exitContext = … ])
static bool Wait(object obj, int millisecondsTimeout)
static bool Wait(object obj, TimeSpan timeout)
static bool Wait(object obj)
static bool Wait(object obj, int millisecondsTimeout, bool exitContext)
static bool Wait(object obj, TimeSpan timeout, bool exitContext)
Mutex class sealed · extends WaitHandle

System.Threading.Mutex · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new Mutex(bool initiallyOwned, string name, out bool createdNew)
new Mutex(bool initiallyOwned, string name)
new Mutex(bool initiallyOwned)
new Mutex()

Ring: new Mutex(args) uses one constructor; the others are chosen by the parameter names: new Mutex().@New([ :param = value ]) or dnNew("Mutex",[ :param = value ]).

Methods

MethodRing call.NET overloads
OpenExistingOpenExisting(p1)static Mutex OpenExisting(string name)
ReleaseMutexcallMethod("ReleaseMutex",[])void ReleaseMutex()
TryOpenExistingTryOpenExisting(p1)static bool TryOpenExisting(string name, out Mutex result)

Members of the base class are inherited.

NativeOverlapped struct

System.Threading.NativeOverlapped · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
InternalLowIntPtrread, writeo.InternalLow o.InternalLow = v
InternalHighIntPtrread, writeo.InternalHigh o.InternalHigh = v
OffsetLowintread, writeo.OffsetLow o.OffsetLow = v
OffsetHighintread, writeo.OffsetHigh o.OffsetHigh = v
EventHandleIntPtrread, writeo.EventHandle o.EventHandle = v
Overlapped class

System.Threading.Overlapped · assembly System.Private.CoreLib

Constructors

new Overlapped()
new Overlapped(int offsetLo, int offsetHi, IntPtr hEvent, IAsyncResult ar)
new Overlapped(int offsetLo, int offsetHi, int hEvent, IAsyncResult ar)

Ring: new Overlapped(args) uses one constructor; the others are chosen by the parameter names: new Overlapped().@New([ :param = value ]) or dnNew("Overlapped",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
AsyncResultIAsyncResultread, writeo.AsyncResult o.AsyncResult = v
OffsetLowintread, writeo.OffsetLow o.OffsetLow = v
OffsetHighintread, writeo.OffsetHigh o.OffsetHigh = v
EventHandleintread, writeo.EventHandle o.EventHandle = v
EventHandleIntPtrIntPtrread, writeo.EventHandleIntPtr o.EventHandleIntPtr = v

Methods

MethodRing call.NET overloads
FreeFree(p1)static void Free(NativeOverlapped* nativeOverlappedPtr)
PackcallMethod("Pack",[p1])
callMethod("Pack",[p1,p2])
NativeOverlapped* Pack(IOCompletionCallback iocb)
NativeOverlapped* Pack(IOCompletionCallback iocb, object userData)
UnpackUnpack(p1)static Overlapped Unpack(NativeOverlapped* nativeOverlappedPtr)
UnsafePackcallMethod("UnsafePack",[p1])
callMethod("UnsafePack",[p1,p2])
NativeOverlapped* UnsafePack(IOCompletionCallback iocb)
NativeOverlapped* UnsafePack(IOCompletionCallback iocb, object userData)
PeriodicTimer class sealed

System.Threading.PeriodicTimer · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new PeriodicTimer(TimeSpan period)
new PeriodicTimer(TimeSpan period, TimeProvider timeProvider)

Ring: new PeriodicTimer(args) uses one constructor; the others are chosen by the parameter names: new PeriodicTimer().@New([ :param = value ]) or dnNew("PeriodicTimer",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
PeriodTimeSpanread, writeo.Period o.Period = v

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
WaitForNextTickAsyncWaitForNextTickAsync(value)
WaitForNextTickAsync([ :cancellationToken = … ])
ValueTask<bool> WaitForNextTickAsync(CancellationToken cancellationToken = …)
PreAllocatedOverlapped class sealed

System.Threading.PreAllocatedOverlapped · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new PreAllocatedOverlapped(IOCompletionCallback callback, object state, object pinData)

Ring: new PreAllocatedOverlapped(args) uses one constructor; the others are chosen by the parameter names: new PreAllocatedOverlapped().@New([ :param = value ]) or dnNew("PreAllocatedOverlapped",[ :param = value ]).

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
UnsafeCreateUnsafeCreate(p1,p2,p3)static PreAllocatedOverlapped UnsafeCreate(IOCompletionCallback callback, object state, object pinData)
ReaderWriterLock class sealed · extends CriticalFinalizerObject

System.Threading.ReaderWriterLock · assembly System.Threading

Constructors

new ReaderWriterLock()

Ring: new ReaderWriterLock(args) uses one constructor; the others are chosen by the parameter names: new ReaderWriterLock().@New([ :param = value ]) or dnNew("ReaderWriterLock",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsReaderLockHeldboolreado.IsReaderLockHeld
IsWriterLockHeldboolreado.IsWriterLockHeld
WriterSeqNumintreado.WriterSeqNum

Methods

MethodRing call.NET overloads
AcquireReaderLockcallMethod("AcquireReaderLock",[p1])void AcquireReaderLock(int millisecondsTimeout)
void AcquireReaderLock(TimeSpan timeout)
AcquireWriterLockcallMethod("AcquireWriterLock",[p1])void AcquireWriterLock(int millisecondsTimeout)
void AcquireWriterLock(TimeSpan timeout)
AnyWritersSincecallMethod("AnyWritersSince",[p1])bool AnyWritersSince(int seqNum)
DowngradeFromWriterLockDowngradeFromWriterLock(p1)void DowngradeFromWriterLock(ref LockCookie lockCookie)
ReleaseLockcallMethod("ReleaseLock",[])LockCookie ReleaseLock()
ReleaseReaderLockcallMethod("ReleaseReaderLock",[])void ReleaseReaderLock()
ReleaseWriterLockcallMethod("ReleaseWriterLock",[])void ReleaseWriterLock()
RestoreLockRestoreLock(p1)void RestoreLock(ref LockCookie lockCookie)
UpgradeToWriterLockcallMethod("UpgradeToWriterLock",[p1])LockCookie UpgradeToWriterLock(int millisecondsTimeout)
LockCookie UpgradeToWriterLock(TimeSpan timeout)

Members of the base class are inherited.

ReaderWriterLockSlim class

System.Threading.ReaderWriterLockSlim · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new ReaderWriterLockSlim()
new ReaderWriterLockSlim(LockRecursionPolicy recursionPolicy)

Ring: new ReaderWriterLockSlim(args) uses one constructor; the others are chosen by the parameter names: new ReaderWriterLockSlim().@New([ :param = value ]) or dnNew("ReaderWriterLockSlim",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsReadLockHeldboolreado.IsReadLockHeld
IsUpgradeableReadLockHeldboolreado.IsUpgradeableReadLockHeld
IsWriteLockHeldboolreado.IsWriteLockHeld
RecursionPolicyLockRecursionPolicyreado.RecursionPolicy
CurrentReadCountintreado.CurrentReadCount
RecursiveReadCountintreado.RecursiveReadCount
RecursiveUpgradeCountintreado.RecursiveUpgradeCount
RecursiveWriteCountintreado.RecursiveWriteCount
WaitingReadCountintreado.WaitingReadCount
WaitingUpgradeCountintreado.WaitingUpgradeCount
WaitingWriteCountintreado.WaitingWriteCount

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
EnterReadLockcallMethod("EnterReadLock",[])void EnterReadLock()
EnterUpgradeableReadLockcallMethod("EnterUpgradeableReadLock",[])void EnterUpgradeableReadLock()
EnterWriteLockcallMethod("EnterWriteLock",[])void EnterWriteLock()
ExitReadLockcallMethod("ExitReadLock",[])void ExitReadLock()
ExitUpgradeableReadLockcallMethod("ExitUpgradeableReadLock",[])void ExitUpgradeableReadLock()
ExitWriteLockcallMethod("ExitWriteLock",[])void ExitWriteLock()
TryEnterReadLockTryEnterReadLock(p1)bool TryEnterReadLock(TimeSpan timeout)
bool TryEnterReadLock(int millisecondsTimeout)
TryEnterUpgradeableReadLockTryEnterUpgradeableReadLock(p1)bool TryEnterUpgradeableReadLock(TimeSpan timeout)
bool TryEnterUpgradeableReadLock(int millisecondsTimeout)
TryEnterWriteLockTryEnterWriteLock(p1)bool TryEnterWriteLock(TimeSpan timeout)
bool TryEnterWriteLock(int millisecondsTimeout)
RegisteredWaitHandle class sealed

System.Threading.RegisteredWaitHandle · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
UnregisterUnregister(p1)bool Unregister(WaitHandle waitObject)
Semaphore class sealed · extends WaitHandle

System.Threading.Semaphore · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new Semaphore(int initialCount, int maximumCount)
new Semaphore(int initialCount, int maximumCount, string name)
new Semaphore(int initialCount, int maximumCount, string name, out bool createdNew)

Ring: new Semaphore(args) uses one constructor; the others are chosen by the parameter names: new Semaphore().@New([ :param = value ]) or dnNew("Semaphore",[ :param = value ]).

Methods

MethodRing call.NET overloads
OpenExistingOpenExisting(p1)static Semaphore OpenExisting(string name)
ReleasecallMethod("Release",[])
callMethod("Release",[p1])
int Release()
int Release(int releaseCount)
TryOpenExistingTryOpenExisting(p1)static bool TryOpenExisting(string name, out Semaphore result)

Members of the base class are inherited.

SemaphoreFullException class · extends SystemException

System.Threading.SemaphoreFullException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new SemaphoreFullException()
new SemaphoreFullException(string message)
new SemaphoreFullException(string message, Exception innerException)

Ring: new SemaphoreFullException(args) uses one constructor; the others are chosen by the parameter names: new SemaphoreFullException().@New([ :param = value ]) or dnNew("SemaphoreFullException",[ :param = value ]).

Members of the base class are inherited.

SemaphoreSlim class

System.Threading.SemaphoreSlim · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new SemaphoreSlim(int initialCount)
new SemaphoreSlim(int initialCount, int maxCount)

Ring: new SemaphoreSlim(args) uses one constructor; the others are chosen by the parameter names: new SemaphoreSlim().@New([ :param = value ]) or dnNew("SemaphoreSlim",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CurrentCountintreado.CurrentCount
AvailableWaitHandleWaitHandlereado.AvailableWaitHandle

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
ReleasecallMethod("Release",[])
callMethod("Release",[p1])
int Release()
int Release(int releaseCount)
WaitWait(NULL)
Wait(value)
Wait([ :cancellationToken = … ])
Wait([ :timeout = … ])
Wait([ :millisecondsTimeout = … ])
Wait([ :timeout = …, :cancellationToken = … ])
void Wait()
void Wait(CancellationToken cancellationToken)
bool Wait(TimeSpan timeout)
bool Wait(TimeSpan timeout, CancellationToken cancellationToken)
bool Wait(int millisecondsTimeout)
bool Wait(int millisecondsTimeout, CancellationToken cancellationToken)
WaitAsyncWaitAsync(NULL)
WaitAsync(value)
WaitAsync([ :cancellationToken = … ])
WaitAsync([ :millisecondsTimeout = … ])
WaitAsync([ :timeout = … ])
WaitAsync([ :timeout = …, :cancellationToken = … ])
Task WaitAsync()
Task WaitAsync(CancellationToken cancellationToken)
Task<bool> WaitAsync(int millisecondsTimeout)
Task<bool> WaitAsync(TimeSpan timeout)
Task<bool> WaitAsync(TimeSpan timeout, CancellationToken cancellationToken)
Task<bool> WaitAsync(int millisecondsTimeout, CancellationToken cancellationToken)
SpinLock struct

System.Threading.SpinLock · assembly System.Private.CoreLib

Constructors

new SpinLock(bool enableThreadOwnerTracking)

Ring: new SpinLock(args) uses one constructor; the others are chosen by the parameter names: new SpinLock().@New([ :param = value ]) or dnNew("SpinLock",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsHeldboolreado.IsHeld
IsHeldByCurrentThreadboolreado.IsHeldByCurrentThread
IsThreadOwnerTrackingEnabledboolreado.IsThreadOwnerTrackingEnabled

Methods

MethodRing call.NET overloads
EnterEnter(p1)void Enter(ref bool lockTaken)
ExitcallMethod("Exit",[])
callMethod("Exit",[p1])
void Exit()
void Exit(bool useMemoryBarrier)
TryEnterTryEnter(value)
TryEnter([ :lockTaken = … ])
TryEnter([ :timeout = …, :lockTaken = … ])
TryEnter([ :millisecondsTimeout = …, :lockTaken = … ])
void TryEnter(ref bool lockTaken)
void TryEnter(TimeSpan timeout, ref bool lockTaken)
void TryEnter(int millisecondsTimeout, ref bool lockTaken)
SpinWait struct

System.Threading.SpinWait · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count
NextSpinWillYieldboolreado.NextSpinWillYield

Methods

MethodRing call.NET overloads
ResetcallMethod("Reset",[])void Reset()
SpinOncecallMethod("SpinOnce",[])
callMethod("SpinOnce",[p1])
void SpinOnce()
void SpinOnce(int sleep1Threshold)
SpinUntilSpinUntil(value)
SpinUntil([ :condition = … ])
SpinUntil([ :condition = …, :timeout = … ])
SpinUntil([ :condition = …, :millisecondsTimeout = … ])
static void SpinUntil(Func<bool> condition)
static bool SpinUntil(Func<bool> condition, TimeSpan timeout)
static bool SpinUntil(Func<bool> condition, int millisecondsTimeout)
SynchronizationContext class

System.Threading.SynchronizationContext · assembly System.Private.CoreLib

Constructors

new SynchronizationContext()

Ring: new SynchronizationContext(args) uses one constructor; the others are chosen by the parameter names: new SynchronizationContext().@New([ :param = value ]) or dnNew("SynchronizationContext",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CurrentSynchronizationContextread · statico.Current

Methods

MethodRing call.NET overloads
CreateCopycallMethod("CreateCopy",[])SynchronizationContext CreateCopy()
IsWaitNotificationRequiredcallMethod("IsWaitNotificationRequired",[])bool IsWaitNotificationRequired()
OperationCompletedcallMethod("OperationCompleted",[])void OperationCompleted()
OperationStartedcallMethod("OperationStarted",[])void OperationStarted()
PostPost(p1,p2)void Post(SendOrPostCallback d, object state)
SendSend(p1,p2)void Send(SendOrPostCallback d, object state)
SetSynchronizationContextSetSynchronizationContext(p1)static void SetSynchronizationContext(SynchronizationContext syncContext)
WaitWait(p1,p2,p3)int Wait(IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout)
SynchronizationLockException class · extends SystemException

System.Threading.SynchronizationLockException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new SynchronizationLockException()
new SynchronizationLockException(string message)
new SynchronizationLockException(string message, Exception innerException)

Ring: new SynchronizationLockException(args) uses one constructor; the others are chosen by the parameter names: new SynchronizationLockException().@New([ :param = value ]) or dnNew("SynchronizationLockException",[ :param = value ]).

Members of the base class are inherited.

Thread class sealed · extends CriticalFinalizerObject

System.Threading.Thread · assembly System.Private.CoreLib

Constructors

new Thread(ThreadStart start)
new Thread(ThreadStart start, int maxStackSize)
new Thread(ParameterizedThreadStart start)
new Thread(ParameterizedThreadStart start, int maxStackSize)

Ring: new Thread(args) uses one constructor; the others are chosen by the parameter names: new Thread().@New([ :param = value ]) or dnNew("Thread",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ManagedThreadIdintreado.ManagedThreadId
IsAliveboolreado.IsAlive
IsBackgroundboolread, writeo.IsBackground o.IsBackground = v
IsThreadPoolThreadboolreado.IsThreadPoolThread
PriorityThreadPriorityread, writeo.Priority o.Priority = v
ThreadStateThreadStatereado.ThreadState
CurrentCultureCultureInforead, writeo.CurrentCulture o.CurrentCulture = v
CurrentUICultureCultureInforead, writeo.CurrentUICulture o.CurrentUICulture = v
ExecutionContextExecutionContextreado.ExecutionContext
Namestringread, writeo.Name o.Name = v
ApartmentStateApartmentStateread, writeo.ApartmentState o.ApartmentState = v
CurrentPrincipalIPrincipalread, write · statico.CurrentPrincipal o.CurrentPrincipal = v
CurrentThreadThreadread · statico.CurrentThread

Methods

MethodRing call.NET overloads
AbortcallMethod("Abort",[])
callMethod("Abort",[p1])
void Abort()
void Abort(object stateInfo)
AllocateDataSlotAllocateDataSlot()static LocalDataStoreSlot AllocateDataSlot()
AllocateNamedDataSlotAllocateNamedDataSlot(p1)static LocalDataStoreSlot AllocateNamedDataSlot(string name)
BeginCriticalRegioncallMethod("BeginCriticalRegion",[])static void BeginCriticalRegion()
BeginThreadAffinitycallMethod("BeginThreadAffinity",[])static void BeginThreadAffinity()
DisableComObjectEagerCleanupcallMethod("DisableComObjectEagerCleanup",[])void DisableComObjectEagerCleanup()
EndCriticalRegioncallMethod("EndCriticalRegion",[])static void EndCriticalRegion()
EndThreadAffinitycallMethod("EndThreadAffinity",[])static void EndThreadAffinity()
FreeNamedDataSlotcallMethod("FreeNamedDataSlot",[p1])static void FreeNamedDataSlot(string name)
GetApartmentStatecallMethod("GetApartmentState",[])ApartmentState GetApartmentState()
GetCompressedStackcallMethod("GetCompressedStack",[])CompressedStack GetCompressedStack()
GetCurrentProcessorIdcallMethod("GetCurrentProcessorId",[])static int GetCurrentProcessorId()
GetDataGetData(p1)static object GetData(LocalDataStoreSlot slot)
GetDomainGetDomain()static AppDomain GetDomain()
GetDomainIDcallMethod("GetDomainID",[])static int GetDomainID()
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
GetNamedDataSlotGetNamedDataSlot(p1)static LocalDataStoreSlot GetNamedDataSlot(string name)
InterruptcallMethod("Interrupt",[])void Interrupt()
JoinJoin(NULL)
Join(value)
Join([ :millisecondsTimeout = … ])
Join([ :timeout = … ])
bool Join(int millisecondsTimeout)
void Join()
bool Join(TimeSpan timeout)
MemoryBarriercallMethod("MemoryBarrier",[])static void MemoryBarrier()
ResetAbortcallMethod("ResetAbort",[])static void ResetAbort()
ResumecallMethod("Resume",[])void Resume()
SetApartmentState@SetApartmentState(p1)void SetApartmentState(ApartmentState state)
SetCompressedStackSetCompressedStack(p1)void SetCompressedStack(CompressedStack stack)
SetDataSetData(p1,p2)static void SetData(LocalDataStoreSlot slot, object data)
SleepcallMethod("Sleep",[p1])static void Sleep(int millisecondsTimeout)
static void Sleep(TimeSpan timeout)
SpinWaitcallMethod("SpinWait",[p1])static void SpinWait(int iterations)
StartcallMethod("Start",[])
callMethod("Start",[p1])
void Start(object parameter)
void Start()
SuspendcallMethod("Suspend",[])void Suspend()
TrySetApartmentStateTrySetApartmentState(p1)bool TrySetApartmentState(ApartmentState state)
UnsafeStartcallMethod("UnsafeStart",[])
callMethod("UnsafeStart",[p1])
void UnsafeStart(object parameter)
void UnsafeStart()
VolatileReadVolatileRead(p1)static byte VolatileRead(ref byte address)
static double VolatileRead(ref double address)
static short VolatileRead(ref short address)
static int VolatileRead(ref int address)
static long VolatileRead(ref long address)
static IntPtr VolatileRead(ref IntPtr address)
static object VolatileRead(ref object address)
static sbyte VolatileRead(ref sbyte address)
static float VolatileRead(ref float address)
static ushort VolatileRead(ref ushort address)
static uint VolatileRead(ref uint address)
static ulong VolatileRead(ref ulong address)
static UIntPtr VolatileRead(ref UIntPtr address)
VolatileWriteVolatileWrite(p1,p2)static void VolatileWrite(ref byte address, byte value)
static void VolatileWrite(ref double address, double value)
static void VolatileWrite(ref short address, short value)
static void VolatileWrite(ref int address, int value)
static void VolatileWrite(ref long address, long value)
static void VolatileWrite(ref IntPtr address, IntPtr value)
static void VolatileWrite(ref object address, object value)
static void VolatileWrite(ref sbyte address, sbyte value)
static void VolatileWrite(ref float address, float value)
static void VolatileWrite(ref ushort address, ushort value)
static void VolatileWrite(ref uint address, uint value)
static void VolatileWrite(ref ulong address, ulong value)
static void VolatileWrite(ref UIntPtr address, UIntPtr value)
YieldcallMethod("Yield",[])static bool Yield()

Members of the base class are inherited.

ThreadAbortException class sealed · extends SystemException

System.Threading.ThreadAbortException · assembly System.Private.CoreLib

Implements: ISerializable

Properties and fields

NameTypeAccessIn Ring
ExceptionStateobjectreado.ExceptionState

Members of the base class are inherited.

ThreadExceptionEventArgs class · extends EventArgs

System.Threading.ThreadExceptionEventArgs · assembly System.Private.CoreLib

Constructors

new ThreadExceptionEventArgs(Exception t)

Ring: new ThreadExceptionEventArgs(args) uses one constructor; the others are chosen by the parameter names: new ThreadExceptionEventArgs().@New([ :param = value ]) or dnNew("ThreadExceptionEventArgs",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ExceptionExceptionreado.Exception

Members of the base class are inherited.

ThreadInterruptedException class · extends SystemException

System.Threading.ThreadInterruptedException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new ThreadInterruptedException()
new ThreadInterruptedException(string message)
new ThreadInterruptedException(string message, Exception innerException)

Ring: new ThreadInterruptedException(args) uses one constructor; the others are chosen by the parameter names: new ThreadInterruptedException().@New([ :param = value ]) or dnNew("ThreadInterruptedException",[ :param = value ]).

Members of the base class are inherited.

ThreadLocal class

System.Threading.ThreadLocal`1 · assembly System.Private.CoreLib

Implements: IDisposable

Properties and fields

NameTypeAccessIn Ring
ValueTread, writeo.Value o.Value = v
ValuesIList<T>reado.Values
IsValueCreatedboolreado.IsValueCreated
ThreadPool class static

System.Threading.ThreadPool · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
PendingWorkItemCountlongread · statico.PendingWorkItemCount
ThreadCountintread · statico.ThreadCount
CompletedWorkItemCountlongread · statico.CompletedWorkItemCount

Methods

MethodRing call.NET overloads
BindHandleBindHandle(p1)static bool BindHandle(IntPtr osHandle)
static bool BindHandle(SafeHandle osHandle)
GetAvailableThreadsGetAvailableThreads()static void GetAvailableThreads(out int workerThreads, out int completionPortThreads)
GetMaxThreadsGetMaxThreads()static void GetMaxThreads(out int workerThreads, out int completionPortThreads)
GetMinThreadsGetMinThreads()static void GetMinThreads(out int workerThreads, out int completionPortThreads)
QueueUserWorkItemQueueUserWorkItem(value)
QueueUserWorkItem([ :callBack = … ])
QueueUserWorkItem([ :callBack = …, :state = … ])
QueueUserWorkItem([ :callBack = …, :state = …, :preferLocal = … ])
static bool QueueUserWorkItem(WaitCallback callBack)
static bool QueueUserWorkItem(WaitCallback callBack, object state)
static bool QueueUserWorkItem<TState>(Action<TState> callBack, TState state, bool preferLocal)
RegisterWaitForSingleObjectRegisterWaitForSingleObject(p1,p2,p3,p4,p5)static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce)
static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce)
static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, long millisecondsTimeOutInterval, bool executeOnlyOnce)
static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, TimeSpan timeout, bool executeOnlyOnce)
SetMaxThreadscallMethod("SetMaxThreads",[p1,p2])static bool SetMaxThreads(int workerThreads, int completionPortThreads)
SetMinThreadscallMethod("SetMinThreads",[p1,p2])static bool SetMinThreads(int workerThreads, int completionPortThreads)
UnsafeQueueNativeOverlappedUnsafeQueueNativeOverlapped(p1)static bool UnsafeQueueNativeOverlapped(NativeOverlapped* overlapped)
UnsafeQueueUserWorkItemUnsafeQueueUserWorkItem([ :callBack = …, :state = … ])
UnsafeQueueUserWorkItem([ :callBack = …, :preferLocal = … ])
UnsafeQueueUserWorkItem([ :callBack = …, :state = …, :preferLocal = … ])
static bool UnsafeQueueUserWorkItem<TState>(Action<TState> callBack, TState state, bool preferLocal)
static bool UnsafeQueueUserWorkItem(WaitCallback callBack, object state)
static bool UnsafeQueueUserWorkItem(IThreadPoolWorkItem callBack, bool preferLocal)
UnsafeRegisterWaitForSingleObjectUnsafeRegisterWaitForSingleObject(p1,p2,p3,p4,p5)static RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce)
static RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce)
static RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, long millisecondsTimeOutInterval, bool executeOnlyOnce)
static RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, TimeSpan timeout, bool executeOnlyOnce)
ThreadPoolBoundHandle class sealed

System.Threading.ThreadPoolBoundHandle · assembly System.Private.CoreLib

Implements: IDisposable

Properties and fields

NameTypeAccessIn Ring
HandleSafeHandlereado.Handle

Methods

MethodRing call.NET overloads
AllocateNativeOverlappedcallMethod("AllocateNativeOverlapped",[p1])
callMethod("AllocateNativeOverlapped",[p1,p2,p3])
NativeOverlapped* AllocateNativeOverlapped(IOCompletionCallback callback, object state, object pinData)
NativeOverlapped* AllocateNativeOverlapped(PreAllocatedOverlapped preAllocated)
BindHandleBindHandle(p1)static ThreadPoolBoundHandle BindHandle(SafeHandle handle)
DisposecallMethod("Dispose",[])void Dispose()
FreeNativeOverlappedFreeNativeOverlapped(p1)void FreeNativeOverlapped(NativeOverlapped* overlapped)
GetNativeOverlappedStateGetNativeOverlappedState(p1)static object GetNativeOverlappedState(NativeOverlapped* overlapped)
UnsafeAllocateNativeOverlappedUnsafeAllocateNativeOverlapped(p1,p2,p3)NativeOverlapped* UnsafeAllocateNativeOverlapped(IOCompletionCallback callback, object state, object pinData)
ThreadStartException class sealed · extends SystemException

System.Threading.ThreadStartException · assembly System.Private.CoreLib

Implements: ISerializable

Members of the base class are inherited.

ThreadStateException class · extends SystemException

System.Threading.ThreadStateException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new ThreadStateException()
new ThreadStateException(string message)
new ThreadStateException(string message, Exception innerException)

Ring: new ThreadStateException(args) uses one constructor; the others are chosen by the parameter names: new ThreadStateException().@New([ :param = value ]) or dnNew("ThreadStateException",[ :param = value ]).

Members of the base class are inherited.

Timeout class static

System.Threading.Timeout · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
InfiniteTimeSpanTimeSpanread · statico.InfiniteTimeSpan
Infiniteintconstant · statico.Infinite
Timer class sealed

System.Threading.Timer · assembly System.Private.CoreLib

Implements: IDisposable, IAsyncDisposable, ITimer

Constructors

new Timer(TimerCallback callback, object state, int dueTime, int period)
new Timer(TimerCallback callback, object state, TimeSpan dueTime, TimeSpan period)
new Timer(TimerCallback callback, object state, uint dueTime, uint period)
new Timer(TimerCallback callback, object state, long dueTime, long period)
new Timer(TimerCallback callback)

Ring: new Timer(args) uses one constructor; the others are chosen by the parameter names: new Timer().@New([ :param = value ]) or dnNew("Timer",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ActiveCountlongread · statico.ActiveCount

Methods

MethodRing call.NET overloads
ChangecallMethod("Change",[p1,p2])bool Change(int dueTime, int period)
bool Change(TimeSpan dueTime, TimeSpan period)
bool Change(uint dueTime, uint period)
bool Change(long dueTime, long period)
DisposeDispose(NULL)
Dispose(value)
Dispose([ :notifyObject = … ])
bool Dispose(WaitHandle notifyObject)
void Dispose()
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
Volatile class static

System.Threading.Volatile · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
ReadcallMethod("Read",[p1])static bool Read(ref bool location)
static byte Read(ref byte location)
static double Read(ref double location)
static short Read(ref short location)
static int Read(ref int location)
static long Read(ref long location)
static IntPtr Read(ref IntPtr location)
static sbyte Read(ref sbyte location)
static float Read(ref float location)
static ushort Read(ref ushort location)
static uint Read(ref uint location)
static ulong Read(ref ulong location)
static UIntPtr Read(ref UIntPtr location)
static T Read<T>(ref T location)
WriteWrite(p1,p2)static void Write(ref bool location, bool value)
static void Write(ref byte location, byte value)
static void Write(ref double location, double value)
static void Write(ref short location, short value)
static void Write(ref int location, int value)
static void Write(ref long location, long value)
static void Write(ref IntPtr location, IntPtr value)
static void Write(ref sbyte location, sbyte value)
static void Write(ref float location, float value)
static void Write(ref ushort location, ushort value)
static void Write(ref uint location, uint value)
static void Write(ref ulong location, ulong value)
static void Write(ref UIntPtr location, UIntPtr value)
static void Write<T>(ref T location, T value)
WaitHandle class abstract

System.Threading.WaitHandle · assembly System.Private.CoreLib

Implements: IDisposable

Properties and fields

NameTypeAccessIn Ring
HandleIntPtrread, writeo.Handle o.Handle = v
SafeWaitHandleSafeWaitHandleread, writeo.SafeWaitHandle o.SafeWaitHandle = v
WaitTimeoutintconstant · statico.WaitTimeout

Methods

MethodRing call.NET overloads
ClosecallMethod("Close",[])void Close()
DisposecallMethod("Dispose",[])void Dispose()
SignalAndWaitSignalAndWait([ :toSignal = …, :toWaitOn = … ])
SignalAndWait([ :toSignal = …, :toWaitOn = …, :timeout = …, :exitContext = … ])
SignalAndWait([ :toSignal = …, :toWaitOn = …, :millisecondsTimeout = …, :exitContext = … ])
static bool SignalAndWait(WaitHandle toSignal, WaitHandle toWaitOn)
static bool SignalAndWait(WaitHandle toSignal, WaitHandle toWaitOn, TimeSpan timeout, bool exitContext)
static bool SignalAndWait(WaitHandle toSignal, WaitHandle toWaitOn, int millisecondsTimeout, bool exitContext)
WaitAllWaitAll(value)
WaitAll([ :waitHandles = … ])
WaitAll([ :waitHandles = …, :millisecondsTimeout = … ])
WaitAll([ :waitHandles = …, :timeout = … ])
WaitAll([ :waitHandles = …, :millisecondsTimeout = …, :exitContext = … ])
static bool WaitAll(WaitHandle[] waitHandles, int millisecondsTimeout)
static bool WaitAll(WaitHandle[] waitHandles, TimeSpan timeout)
static bool WaitAll(WaitHandle[] waitHandles)
static bool WaitAll(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext)
static bool WaitAll(WaitHandle[] waitHandles, TimeSpan timeout, bool exitContext)
WaitAnyWaitAny(value)
WaitAny([ :waitHandles = … ])
WaitAny([ :waitHandles = …, :millisecondsTimeout = … ])
WaitAny([ :waitHandles = …, :timeout = … ])
WaitAny([ :waitHandles = …, :millisecondsTimeout = …, :exitContext = … ])
static int WaitAny(WaitHandle[] waitHandles, int millisecondsTimeout)
static int WaitAny(WaitHandle[] waitHandles, TimeSpan timeout)
static int WaitAny(WaitHandle[] waitHandles)
static int WaitAny(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext)
static int WaitAny(WaitHandle[] waitHandles, TimeSpan timeout, bool exitContext)
WaitOnecallMethod("WaitOne",[])
callMethod("WaitOne",[p1])
callMethod("WaitOne",[p1,p2])
bool WaitOne(int millisecondsTimeout)
bool WaitOne(TimeSpan timeout)
bool WaitOne()
bool WaitOne(int millisecondsTimeout, bool exitContext)
bool WaitOne(TimeSpan timeout, bool exitContext)
WaitHandleCannotBeOpenedException class · extends ApplicationException

System.Threading.WaitHandleCannotBeOpenedException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new WaitHandleCannotBeOpenedException()
new WaitHandleCannotBeOpenedException(string message)
new WaitHandleCannotBeOpenedException(string message, Exception innerException)

Ring: new WaitHandleCannotBeOpenedException(args) uses one constructor; the others are chosen by the parameter names: new WaitHandleCannotBeOpenedException().@New([ :param = value ]) or dnNew("WaitHandleCannotBeOpenedException",[ :param = value ]).

Members of the base class are inherited.

WaitHandleExtensions class static

System.Threading.WaitHandleExtensions · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
GetSafeWaitHandleGetSafeWaitHandle(p1)static SafeWaitHandle GetSafeWaitHandle(WaitHandle waitHandle)
SetSafeWaitHandleSetSafeWaitHandle(p1,p2)static void SetSafeWaitHandle(WaitHandle waitHandle, SafeWaitHandle value)