Beef Corlib
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
System.Threading.Thread Class Reference

Public Member Functions

 Thread (ThreadStart start)
 
 Thread (ThreadStart start, int maxStackSize)
 
 Thread (ParameterizedThreadStart start)
 
 Thread (ParameterizedThreadStart start, int32 maxStackSize)
 
void AddExitNotify (delegate void() dlg)
 
Result< void > RemovedExitNotify (delegate void() dlg, bool delegateDelegate=false)
 
void Start ()
 
void Start (bool autoDelete)
 
void Start (Object parameter)
 
void Start (Object parameter, bool autoDelete)
 
void Join ()
 
bool Join (int millisecondsTimeout)
 
bool Join (TimeSpan timeout)
 
void SetJoinOnDelete (bool joinOnDelete)
 
void SetName (String name)
 
void GetName (String outName)
 
static void RequestExitNotify ()
 
void Suspend ()
 
void Resume ()
 

Static Public Member Functions

static void AddGlobalExitNotify (delegate void() dlg)
 
static Result< void > RemoveGlobalExitNotify (delegate void() dlg, bool delegateDelegate=false)
 
static void Sleep (int32 millisecondsTimeout)
 
static void Sleep (TimeSpan timeout)
 
static void SpinWait (int iterations)
 
static bool Yield ()
 

Public Attributes

int32 mMaxStackSize
 

Static Public Attributes

static Thread sMainThread ~ delete _
 
static int CurrentThreadId => Platform.BfpThread_GetCurrentId()
 

Properties

bool AutoDelete [get, set]
 
static int ModuleTLSIndex [get]
 
ThreadPriority Priority [get, set]
 
bool IsAlive [get]
 
bool IsThreadPoolThread [get]
 
static Thread CurrentThread [get]
 
int Id [get]
 
bool IsBackground [get, set]
 
ThreadState ThreadState [get]