W3cubDocs

/Haxe C#

Thread

package cs.system.threading

extends CriticalFinalizerObject

implements _Thread

Available on cs

Static variables

staticread onlyCurrentContext:Context

staticCurrentPrincipal:IPrincipal

staticread onlyCurrentThread:Thread

Static methods

staticAllocateDataSlot():LocalDataStoreSlot

staticAllocateNamedDataSlot(name:String):LocalDataStoreSlot

staticBeginCriticalRegion():Void

staticBeginThreadAffinity():Void

staticEndCriticalRegion():Void

staticEndThreadAffinity():Void

staticFreeNamedDataSlot(name:String):Void

staticGetData(slot:LocalDataStoreSlot):Dynamic

staticGetDomain():AppDomain

staticGetDomainID():Int

staticGetNamedDataSlot(name:String):LocalDataStoreSlot

staticMemoryBarrier():Void

staticResetAbort():Void

staticSetData(slot:LocalDataStoreSlot, data:Dynamic):Void

staticSleep(millisecondsTimeout:Int):Void

staticSleep(timeout:TimeSpan):Void

staticSpinWait(iterations:Int):Void

staticVolatileRead(address:Ref<UInt8>):UInt8

staticVolatileRead(address:Ref<UIntPtr>):UIntPtr

staticVolatileRead(address:Ref<UInt64>):UInt64

staticVolatileRead(address:Ref<UInt>):UInt

staticVolatileRead(address:Ref<UInt16>):UInt16

staticVolatileRead(address:Ref<Single>):Single

staticVolatileRead(address:Ref<Int8>):Int8

staticVolatileRead(address:Ref<Dynamic>):Dynamic

staticVolatileRead(address:Ref<IntPtr>):IntPtr

staticVolatileRead(address:Ref<Int64>):Int64

staticVolatileRead(address:Ref<Int>):Int

staticVolatileRead(address:Ref<Int16>):Int16

staticVolatileRead(address:Ref<Float>):Float

staticVolatileWrite(address:Ref<UInt8>, value:UInt8):Void

staticVolatileWrite(address:Ref<UIntPtr>, value:UIntPtr):Void

staticVolatileWrite(address:Ref<UInt64>, value:UInt64):Void

staticVolatileWrite(address:Ref<UInt>, value:UInt):Void

staticVolatileWrite(address:Ref<UInt16>, value:UInt16):Void

staticVolatileWrite(address:Ref<Single>, value:Single):Void

staticVolatileWrite(address:Ref<Int8>, value:Int8):Void

staticVolatileWrite(address:Ref<Dynamic>, value:Dynamic):Void

staticVolatileWrite(address:Ref<IntPtr>, value:IntPtr):Void

staticVolatileWrite(address:Ref<Int64>, value:Int64):Void

staticVolatileWrite(address:Ref<Int>, value:Int):Void

staticVolatileWrite(address:Ref<Int16>, value:Int16):Void

staticVolatileWrite(address:Ref<Float>, value:Float):Void

Constructor

finalnew(start:ThreadStart)

finalnew(start:ParameterizedThreadStart, maxStackSize:Int)

finalnew(start:ParameterizedThreadStart)

finalnew(start:ThreadStart, maxStackSize:Int)

Variables

ApartmentState:ApartmentState

CurrentCulture:CultureInfo

CurrentUICulture:CultureInfo

read onlyExecutionContext:ExecutionContext

read onlyIsAlive:Bool

IsBackground:Bool

read onlyIsThreadPoolThread:Bool

read onlyManagedThreadId:Int

Name:String

Priority:ThreadPriority

read onlyThreadState:ThreadState

Methods

finalAbort():Void

finalAbort(stateInfo:Dynamic):Void

finalGetApartmentState():ApartmentState

finalGetCompressedStack():CompressedStack

finalInterrupt():Void

finalJoin():Void

finalJoin(timeout:TimeSpan):Bool

finalJoin(millisecondsTimeout:Int):Bool

finalResume():Void

finalSetApartmentState(state:ApartmentState):Void

finalSetCompressedStack(stack:CompressedStack):Void

finalStart():Void

finalStart(parameter:Dynamic):Void

finalSuspend():Void

finalTrySetApartmentState(state:ApartmentState):Bool

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/threading/Thread.html