C# Class System.Threading.Thread

Inheritance: System.Runtime.ConstrainedExecution.CriticalFinalizerObject, _Thread
Mostrar archivo Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
GetApartmentStateChangeFailedException Exception
GetCompressedStack System.Threading.CompressedStack
Resume void
SetCompressedStack void
Suspend void
TrySetApartmentStateUnchecked bool
VolatileRead System.UIntPtr
VolatileRead sbyte
VolatileRead uint
VolatileRead ulong
VolatileRead ushort
VolatileWrite void
VolatileWrite void
VolatileWrite void
VolatileWrite void

Public Methods

Method Description
Abort ( ) : void
Abort ( object stateInfo ) : void
AllocateDataSlot ( ) : System.LocalDataStoreSlot
AllocateNamedDataSlot ( string name ) : System.LocalDataStoreSlot
BeginCriticalRegion ( ) : void
BeginThreadAffinity ( ) : void
DisableComObjectEagerCleanup ( ) : void
EndCriticalRegion ( ) : void
EndThreadAffinity ( ) : void
FreeNamedDataSlot ( string name ) : void
GetApartmentState ( ) : ApartmentState
GetApartmentState ( ) : System.Threading.ApartmentState
GetData ( System slot ) : object
GetDomain ( ) : System.AppDomain
GetDomainID ( ) : int
GetHashCode ( ) : int
GetNamedDataSlot ( string name ) : System.LocalDataStoreSlot
Interrupt ( ) : void
Join ( System timeout ) : bool
Join ( int millisecondsTimeout ) : bool
Join ( ) : void
MemoryBarrier ( ) : void
ResetAbort ( ) : void
SetApartmentState ( System state ) : void
SetData ( System slot, object data ) : void
Sleep ( System timeout ) : void
Sleep ( int millisecondsTimeout ) : void
SpinWait ( int iterations ) : void
Start ( ) : void
Start ( object parameter ) : void
Thread ( System start )
Thread ( System start, int maxStackSize )
TrySetApartmentState ( System state ) : bool
VolatileRead ( System &address ) : System.IntPtr
VolatileRead ( byte &address ) : byte
VolatileRead ( double &address ) : double
VolatileRead ( float &address ) : float
VolatileRead ( int &address ) : int
VolatileRead ( long &address ) : long
VolatileRead ( object &address ) : object
VolatileRead ( short &address ) : short
VolatileWrite ( System &address, System value ) : void
VolatileWrite ( byte &address, byte value ) : void
VolatileWrite ( double &address, double value ) : void
VolatileWrite ( float &address, float value ) : void
VolatileWrite ( int &address, int value ) : void
VolatileWrite ( long &address, long value ) : void
VolatileWrite ( object &address, object value ) : void
VolatileWrite ( short &address, short value ) : void
Yield ( ) : bool

Private Methods

Method Description
GetApartmentStateChangeFailedException ( ) : Exception
GetCompressedStack ( ) : System.Threading.CompressedStack
Resume ( ) : void
SetCompressedStack ( System stack ) : void
Suspend ( ) : void
TrySetApartmentStateUnchecked ( ApartmentState state ) : bool
VolatileRead ( System &address ) : System.UIntPtr
VolatileRead ( sbyte &address ) : sbyte
VolatileRead ( uint &address ) : uint
VolatileRead ( ulong &address ) : ulong
VolatileRead ( ushort &address ) : ushort
VolatileWrite ( sbyte &address, sbyte value ) : void
VolatileWrite ( uint &address, uint value ) : void
VolatileWrite ( ulong &address, ulong value ) : void
VolatileWrite ( ushort &address, ushort value ) : void

Method Details

Abort() public method

public Abort ( ) : void
return void

Abort() public method

public Abort ( object stateInfo ) : void
stateInfo object
return void

AllocateDataSlot() public static method

public static AllocateDataSlot ( ) : System.LocalDataStoreSlot
return System.LocalDataStoreSlot

AllocateNamedDataSlot() public static method

public static AllocateNamedDataSlot ( string name ) : System.LocalDataStoreSlot
name string
return System.LocalDataStoreSlot

BeginCriticalRegion() public static method

public static BeginCriticalRegion ( ) : void
return void

BeginThreadAffinity() public static method

public static BeginThreadAffinity ( ) : void
return void

DisableComObjectEagerCleanup() public method

public DisableComObjectEagerCleanup ( ) : void
return void

EndCriticalRegion() public static method

public static EndCriticalRegion ( ) : void
return void

EndThreadAffinity() public static method

public static EndThreadAffinity ( ) : void
return void

FreeNamedDataSlot() public static method

public static FreeNamedDataSlot ( string name ) : void
name string
return void

GetApartmentState() public method

public GetApartmentState ( ) : ApartmentState
return ApartmentState

GetApartmentState() public method

public GetApartmentState ( ) : System.Threading.ApartmentState
return System.Threading.ApartmentState

GetData() public static method

public static GetData ( System slot ) : object
slot System
return object

GetDomain() public static method

public static GetDomain ( ) : System.AppDomain
return System.AppDomain

GetDomainID() public static method

public static GetDomainID ( ) : int
return int

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetNamedDataSlot() public static method

public static GetNamedDataSlot ( string name ) : System.LocalDataStoreSlot
name string
return System.LocalDataStoreSlot

Interrupt() public method

public Interrupt ( ) : void
return void

Join() public method

public Join ( System timeout ) : bool
timeout System
return bool

Join() public method

public Join ( int millisecondsTimeout ) : bool
millisecondsTimeout int
return bool

Join() public method

public Join ( ) : void
return void

MemoryBarrier() public static method

public static MemoryBarrier ( ) : void
return void

ResetAbort() public static method

public static ResetAbort ( ) : void
return void

SetApartmentState() public method

public SetApartmentState ( System state ) : void
state System
return void

SetData() public static method

public static SetData ( System slot, object data ) : void
slot System
data object
return void

Sleep() public static method

public static Sleep ( System timeout ) : void
timeout System
return void

Sleep() public static method

public static Sleep ( int millisecondsTimeout ) : void
millisecondsTimeout int
return void

SpinWait() public static method

public static SpinWait ( int iterations ) : void
iterations int
return void

Start() public method

public Start ( ) : void
return void

Start() public method

public Start ( object parameter ) : void
parameter object
return void

Thread() public method

public Thread ( System start )
start System

Thread() public method

public Thread ( System start, int maxStackSize )
start System
maxStackSize int

TrySetApartmentState() public method

public TrySetApartmentState ( System state ) : bool
state System
return bool

VolatileRead() public static method

public static VolatileRead ( System &address ) : System.IntPtr
address System
return System.IntPtr

VolatileRead() public static method

public static VolatileRead ( byte &address ) : byte
address byte
return byte

VolatileRead() public static method

public static VolatileRead ( double &address ) : double
address double
return double

VolatileRead() public static method

public static VolatileRead ( float &address ) : float
address float
return float

VolatileRead() public static method

public static VolatileRead ( int &address ) : int
address int
return int

VolatileRead() public static method

public static VolatileRead ( long &address ) : long
address long
return long

VolatileRead() public static method

public static VolatileRead ( object &address ) : object
address object
return object

VolatileRead() public static method

public static VolatileRead ( short &address ) : short
address short
return short

VolatileWrite() public static method

public static VolatileWrite ( System &address, System value ) : void
address System
value System
return void

VolatileWrite() public static method

public static VolatileWrite ( byte &address, byte value ) : void
address byte
value byte
return void

VolatileWrite() public static method

public static VolatileWrite ( double &address, double value ) : void
address double
value double
return void

VolatileWrite() public static method

public static VolatileWrite ( float &address, float value ) : void
address float
value float
return void

VolatileWrite() public static method

public static VolatileWrite ( int &address, int value ) : void
address int
value int
return void

VolatileWrite() public static method

public static VolatileWrite ( long &address, long value ) : void
address long
value long
return void

VolatileWrite() public static method

public static VolatileWrite ( object &address, object value ) : void
address object
value object
return void

VolatileWrite() public static method

public static VolatileWrite ( short &address, short value ) : void
address short
value short
return void

Yield() public static method

public static Yield ( ) : bool
return bool