Class ThreadImpl
Inheritance
System.Object
ThreadImpl
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.System_Plugs.System.Threading
Assembly: Cosmos.System2_Plugs.dll
Syntax
public static class ThreadImpl
Methods
| Improve this Doc View Sourceget_ManagedThreadId(Object)
Declaration
public static int get_ManagedThreadId(object aItem)
Parameters
Type | Name | Description |
---|---|---|
System.Object | aItem |
Returns
Type | Description |
---|---|
System.Int32 |
GetCurrentProcessorNumber()
Declaration
public static int GetCurrentProcessorNumber()
Returns
Type | Description |
---|---|
System.Int32 |
GetCurrentThreadNative()
Declaration
public static Thread GetCurrentThreadNative()
Returns
Type | Description |
---|---|
Thread |
MemoryBarrier()
Declaration
public static void MemoryBarrier()
SetBackgroundNative(Thread, Boolean)
Declaration
public static void SetBackgroundNative(Thread aThis, bool aBool)
Parameters
Type | Name | Description |
---|---|---|
Thread | aThis | |
System.Boolean | aBool |
Sleep(Int32)
Declaration
public static void Sleep(int millisecondsTimeout)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | millisecondsTimeout |
Sleep(TimeSpan)
Declaration
public static void Sleep(TimeSpan timeout)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | timeout |
SpinWait(Int32)
Declaration
public static void SpinWait(int aInt)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | aInt |
Yield()
Declaration
public static bool Yield()
Returns
Type | Description |
---|---|
System.Boolean |