C# Class System.Threading.Thread.Thread

Inheritance: System.Runtime.ConstrainedExecution.CriticalFinalizerObject, _Thread
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description
GetCompressedStack CompressedStack
RequireCurrentThread void
Resume void
SetCompressedStack void
Suspend void
Thread System.Diagnostics
ThreadMain_ParameterizedThreadStart void
ThreadMain_ThreadStart void
ToTimeoutMilliseconds int
VolatileRead UIntPtr
VolatileRead sbyte
VolatileRead uint
VolatileRead ulong
VolatileRead ushort
VolatileWrite void
VolatileWrite void
VolatileWrite void
VolatileWrite void
VolatileWrite void

Méthodes publiques

Méthode Description
Abort ( ) : void
Abort ( object stateInfo ) : void
AllocateDataSlot ( ) : LocalDataStoreSlot
AllocateNamedDataSlot ( string name ) : LocalDataStoreSlot
BeginCriticalRegion ( ) : void
BeginThreadAffinity ( ) : void
EndCriticalRegion ( ) : void
EndThreadAffinity ( ) : void
FreeNamedDataSlot ( string name ) : void
GetData ( LocalDataStoreSlot slot ) : object
GetDomain ( ) : AppDomain
GetDomainID ( ) : int
GetHashCode ( ) : int
GetNamedDataSlot ( string name ) : LocalDataStoreSlot
Interrupt ( ) : void
Join ( TimeSpan timeout ) : bool
Join ( int millisecondsTimeout ) : bool
Join ( ) : void
MemoryBarrier ( ) : void
ResetAbort ( ) : void
SetApartmentState ( ApartmentState state ) : void
SetData ( LocalDataStoreSlot slot, object data ) : void
Sleep ( TimeSpan timeout ) : void
Sleep ( int millisecondsTimeout ) : void
SpinWait ( int iterations ) : void
Start ( ) : void
Start ( object parameter ) : void
Thread ( ParameterizedThreadStart start ) : System.Diagnostics
Thread ( ParameterizedThreadStart start, int maxStackSize ) : System.Diagnostics
Thread ( ThreadStart start ) : System.Diagnostics
Thread ( ThreadStart start, int maxStackSize ) : System.Diagnostics
TrySetApartmentState ( ApartmentState state ) : bool
VolatileRead ( IntPtr &address ) : 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 ( IntPtr &address, IntPtr 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

Méthode Description
GetCompressedStack ( ) : CompressedStack
RequireCurrentThread ( ) : void
Resume ( ) : void
SetCompressedStack ( CompressedStack stack ) : void
Suspend ( ) : void
Thread ( RuntimeThread runtimeThread ) : System.Diagnostics
ThreadMain_ParameterizedThreadStart ( object parameter ) : void
ThreadMain_ThreadStart ( ) : void
ToTimeoutMilliseconds ( TimeSpan timeout ) : int
VolatileRead ( UIntPtr &address ) : UIntPtr
VolatileRead ( sbyte &address ) : sbyte
VolatileRead ( uint &address ) : uint
VolatileRead ( ulong &address ) : ulong
VolatileRead ( ushort &address ) : ushort
VolatileWrite ( UIntPtr &address, UIntPtr value ) : void
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 méthode

public Abort ( ) : void
Résultat void

Abort() public méthode

public Abort ( object stateInfo ) : void
stateInfo object
Résultat void

AllocateDataSlot() public static méthode

public static AllocateDataSlot ( ) : LocalDataStoreSlot
Résultat LocalDataStoreSlot

AllocateNamedDataSlot() public static méthode

public static AllocateNamedDataSlot ( string name ) : LocalDataStoreSlot
name string
Résultat LocalDataStoreSlot

BeginCriticalRegion() public static méthode

public static BeginCriticalRegion ( ) : void
Résultat void

BeginThreadAffinity() public static méthode

public static BeginThreadAffinity ( ) : void
Résultat void

EndCriticalRegion() public static méthode

public static EndCriticalRegion ( ) : void
Résultat void

EndThreadAffinity() public static méthode

public static EndThreadAffinity ( ) : void
Résultat void

FreeNamedDataSlot() public static méthode

public static FreeNamedDataSlot ( string name ) : void
name string
Résultat void

GetData() public static méthode

public static GetData ( LocalDataStoreSlot slot ) : object
slot LocalDataStoreSlot
Résultat object

GetDomain() public static méthode

public static GetDomain ( ) : AppDomain
Résultat AppDomain

GetDomainID() public static méthode

public static GetDomainID ( ) : int
Résultat int

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetNamedDataSlot() public static méthode

public static GetNamedDataSlot ( string name ) : LocalDataStoreSlot
name string
Résultat LocalDataStoreSlot

Interrupt() public méthode

public Interrupt ( ) : void
Résultat void

Join() public méthode

public Join ( TimeSpan timeout ) : bool
timeout TimeSpan
Résultat bool

Join() public méthode

public Join ( int millisecondsTimeout ) : bool
millisecondsTimeout int
Résultat bool

Join() public méthode

public Join ( ) : void
Résultat void

MemoryBarrier() public static méthode

public static MemoryBarrier ( ) : void
Résultat void

ResetAbort() public static méthode

public static ResetAbort ( ) : void
Résultat void

SetApartmentState() public méthode

public SetApartmentState ( ApartmentState state ) : void
state ApartmentState
Résultat void

SetData() public static méthode

public static SetData ( LocalDataStoreSlot slot, object data ) : void
slot LocalDataStoreSlot
data object
Résultat void

Sleep() public static méthode

public static Sleep ( TimeSpan timeout ) : void
timeout TimeSpan
Résultat void

Sleep() public static méthode

public static Sleep ( int millisecondsTimeout ) : void
millisecondsTimeout int
Résultat void

SpinWait() public static méthode

public static SpinWait ( int iterations ) : void
iterations int
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Start() public méthode

public Start ( object parameter ) : void
parameter object
Résultat void

Thread() public méthode

public Thread ( ParameterizedThreadStart start ) : System.Diagnostics
start ParameterizedThreadStart
Résultat System.Diagnostics

Thread() public méthode

public Thread ( ParameterizedThreadStart start, int maxStackSize ) : System.Diagnostics
start ParameterizedThreadStart
maxStackSize int
Résultat System.Diagnostics

Thread() public méthode

public Thread ( ThreadStart start ) : System.Diagnostics
start ThreadStart
Résultat System.Diagnostics

Thread() public méthode

public Thread ( ThreadStart start, int maxStackSize ) : System.Diagnostics
start ThreadStart
maxStackSize int
Résultat System.Diagnostics

TrySetApartmentState() public méthode

public TrySetApartmentState ( ApartmentState state ) : bool
state ApartmentState
Résultat bool

VolatileRead() public static méthode

public static VolatileRead ( IntPtr &address ) : IntPtr
address IntPtr
Résultat IntPtr

VolatileRead() public static méthode

public static VolatileRead ( byte &address ) : byte
address byte
Résultat byte

VolatileRead() public static méthode

public static VolatileRead ( double &address ) : double
address double
Résultat double

VolatileRead() public static méthode

public static VolatileRead ( float &address ) : float
address float
Résultat float

VolatileRead() public static méthode

public static VolatileRead ( int &address ) : int
address int
Résultat int

VolatileRead() public static méthode

public static VolatileRead ( long &address ) : long
address long
Résultat long

VolatileRead() public static méthode

public static VolatileRead ( object &address ) : object
address object
Résultat object

VolatileRead() public static méthode

public static VolatileRead ( short &address ) : short
address short
Résultat short

VolatileWrite() public static méthode

public static VolatileWrite ( IntPtr &address, IntPtr value ) : void
address IntPtr
value IntPtr
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( byte &address, byte value ) : void
address byte
value byte
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( double &address, double value ) : void
address double
value double
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( float &address, float value ) : void
address float
value float
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( int &address, int value ) : void
address int
value int
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( long &address, long value ) : void
address long
value long
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( object &address, object value ) : void
address object
value object
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( short &address, short value ) : void
address short
value short
Résultat void

Yield() public static méthode

public static Yield ( ) : bool
Résultat bool