threading.Thread

Thread

package cs-system-threading

extends CriticalFinalizerObject

implements _Thread

Available on cs

Constructor

new (start:ThreadStart)

new (start:ParameterizedThreadStart, maxStackSize:Int)

new (start:ParameterizedThreadStart)

new (start:ThreadStart, maxStackSize:Int)

Variables

ApartmentState:ApartmentState

CurrentCulture:CultureInfo

CurrentUICulture:CultureInfo

read only ExecutionContext:ExecutionContext

read only IsAlive:Bool

IsBackground:Bool

read only IsThreadPoolThread:Bool

read only ManagedThreadId:Int

Name:String

Priority:ThreadPriority

read only ThreadState:ThreadState

Methods

Abort ():Void

Abort (stateInfo:Dynamic):Void

GetApartmentState ():ApartmentState

GetCompressedStack ():CompressedStack

Interrupt ():Void

Join ():Void

Join (timeout:TimeSpan):Bool

Join (millisecondsTimeout:Int):Bool

Resume ():Void

SetApartmentState (state:ApartmentState):Void

SetCompressedStack (stack:CompressedStack):Void

Start ():Void

Start (parameter:Dynamic):Void

Suspend ():Void

TrySetApartmentState (state:ApartmentState):Bool

Static variables

static read only CurrentContext:Context

static CurrentPrincipal:IPrincipal

static read only CurrentThread:Thread

Static methods

static AllocateDataSlot ():LocalDataStoreSlot

static AllocateNamedDataSlot (name:String):LocalDataStoreSlot

static BeginCriticalRegion ():Void

static BeginThreadAffinity ():Void

static EndCriticalRegion ():Void

static EndThreadAffinity ():Void

static FreeNamedDataSlot (name:String):Void

static GetData (slot:LocalDataStoreSlot):Dynamic

static GetDomain ():AppDomain

static GetDomainID ():Int

static GetNamedDataSlot (name:String):LocalDataStoreSlot

static MemoryBarrier ():Void

static ResetAbort ():Void

static SetData (slot:LocalDataStoreSlot, data:Dynamic):Void

static Sleep (millisecondsTimeout:Int):Void

static Sleep (timeout:TimeSpan):Void

static SpinWait (iterations:Int):Void

static VolatileRead (address:Ref<UInt8>):UInt8

static VolatileRead (address:Ref<UIntPtr>):UIntPtr

static VolatileRead (address:Ref<UInt64>):UInt64

static VolatileRead (address:Ref<UInt>):UInt

static VolatileRead (address:Ref<UInt16>):UInt16

static VolatileRead (address:Ref<Single>):Single

static VolatileRead (address:Ref<Int8>):Int8

static VolatileRead (address:Ref<Dynamic>):Dynamic

static VolatileRead (address:Ref<IntPtr>):IntPtr

static VolatileRead (address:Ref<Int64>):Int64

static VolatileRead (address:Ref<Int>):Int

static VolatileRead (address:Ref<Int16>):Int16

static VolatileRead (address:Ref<Float>):Float

static VolatileWrite (address:Ref<UInt8>, value:UInt8):Void

static VolatileWrite (address:Ref<UIntPtr>, value:UIntPtr):Void

static VolatileWrite (address:Ref<UInt64>, value:UInt64):Void

static VolatileWrite (address:Ref<UInt>, value:UInt):Void

static VolatileWrite (address:Ref<UInt16>, value:UInt16):Void

static VolatileWrite (address:Ref<Single>, value:Single):Void

static VolatileWrite (address:Ref<Int8>, value:Int8):Void

static VolatileWrite (address:Ref<Dynamic>, value:Dynamic):Void

static VolatileWrite (address:Ref<IntPtr>, value:IntPtr):Void

static VolatileWrite (address:Ref<Int64>, value:Int64):Void

static VolatileWrite (address:Ref<Int>, value:Int):Void

static VolatileWrite (address:Ref<Int16>, value:Int16):Void

static VolatileWrite (address:Ref<Float>, value:Float):Void

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部