Thread

cs.system.runtime.constrainedexecution.CriticalFinalizerObjectcs.system.threading.Thread (extern final class)

Static Members

CurrentThread: Thread



AllocateNamedDataSlot(name: String): cs.system.LocalDataStoreSlot
Name Type
name String
Returns
cs.system.LocalDataStoreSlot

FreeNamedDataSlot(name: String): Void
Name Type
name String

AllocateDataSlot(): cs.system.LocalDataStoreSlot
Returns
cs.system.LocalDataStoreSlot

Name Type
slot cs.system.LocalDataStoreSlot
Returns
Dynamic

Name Type
slot cs.system.LocalDataStoreSlot
data Dynamic

GetNamedDataSlot(name: String): cs.system.LocalDataStoreSlot
Name Type
name String
Returns
cs.system.LocalDataStoreSlot

Returns
cs.system.AppDomain

GetDomainID(): Int
Returns
Int

ResetAbort(): Void

Sleep(millisecondsTimeout: Int): Void
Name Type
millisecondsTimeout Int

MemoryBarrier(): Void

SpinWait(iterations: Int): Void
Name Type
iterations Int

VolatileRead(address: cs.Ref): cs.types.UInt8
Name Type
address cs.Ref
Returns
cs.types.UInt8

VolatileWrite(address: cs.Ref, value: cs.types.UInt8): Void
Name Type
address cs.Ref
value cs.types.UInt8

BeginCriticalRegion(): Void

EndCriticalRegion(): Void

BeginThreadAffinity(): Void

EndThreadAffinity(): Void

Instance Members

ManagedThreadId: Int

ExecutionContext: ExecutionContext

ThreadState: Anonymous

Priority: Anonymous

Name: String

IsBackground: Bool

IsAlive: Bool

IsThreadPoolThread: Bool



ApartmentState: Anonymous

Abort(): Void

Interrupt(): Void

Join(): Void

Resume(): Void

Start(): Void

Suspend(): Void

GetApartmentState(): Anonymous
Returns
Anonymous

SetApartmentState(state: Anonymous): Void
Name Type
state Anonymous

TrySetApartmentState(state: Anonymous): Bool
Name Type
state Anonymous
Returns
Bool

GetCompressedStack(): CompressedStack
Returns
CompressedStack

SetCompressedStack(stack: CompressedStack): Void
Name Type
stack CompressedStack

new(start: ThreadStart): Void
Name Type
start ThreadStart

Metadata

Name Parameters
:nativeGen -
:libType -
:csNative -