Classes | |
class | AutoResetEvent |
class | EventWaitHandle |
class | Interlocked |
class | ManualResetEvent |
class | Monitor |
class | Mutex |
class | Semaphore |
class | Thread |
class | ThreadPool |
class | ThreadPoolImpl |
struct | Timeout |
class | Timer |
class | TimerQueue |
class | WaitHandle |
Typedefs | |
using | SendOrPostCallback = System::MulticastDelegate< void(System::SharedPtr< Object >)> |
using | ParameterizedThreadStart = System::MulticastDelegate< void(System::SharedPtr< System::Object >)> |
Thread function with single parameter. More... | |
using | ThreadStart = System::MulticastDelegate< void()> |
Thread function with no parameters. More... | |
using | WaitCallback = System::MulticastDelegate< void(System::SharedPtr< System::Object >)> |
Callback item to be executed once there is a spot. More... | |
using | TimerCallback = System::MulticastDelegate< void(System::SharedPtr< System::Object >)> |
Callback function to be called by timer. More... | |
typedef void * | wait_handle_t |
Handle type. More... | |
Enumerations | |
enum | ApartmentState { ApartmentState::STA = 0, ApartmentState::MTA = 1, ApartmentState::Unknown = 2 } |
Sets apartment state of the thread. More... | |
enum | EventResetMode { EventResetMode::AutoReset = 0, EventResetMode::ManualReset = 1 } |
Indicates how event state resets. More... | |
enum | ThreadState { Running = 0, StopRequested = 1, SuspendRequested = 2, Background = 4, Unstarted = 8, Stopped = 16, WaitSleepJoin = 32, Suspended = 64, AbortRequested = 128, Aborted = 256 } |
State of the thread. More... | |
using System::Threading::ParameterizedThreadStart = typedef System::MulticastDelegate<void(System::SharedPtr<System::Object>)> |
Thread function with single parameter.
using System::Threading::SendOrPostCallback = typedef System::MulticastDelegate<void(System::SharedPtr<Object>)> |
using System::Threading::ThreadStart = typedef System::MulticastDelegate<void()> |
Thread function with no parameters.
using System::Threading::TimerCallback = typedef System::MulticastDelegate<void(System::SharedPtr<System::Object>)> |
Callback function to be called by timer.
typedef void* System::Threading::wait_handle_t |
Handle type.
using System::Threading::WaitCallback = typedef System::MulticastDelegate<void(System::SharedPtr<System::Object>)> |
Callback item to be executed once there is a spot.
|
strong |
|
strong |
State of the thread.
Enumerator | |
---|---|
Running | Thread is running. |
StopRequested | Thread stop is requested. |
SuspendRequested | Thread suspension is requested. |
Background | Theread is being executed in background. |
Unstarted | Thread is not started. |
Stopped | Thread is stopped. |
WaitSleepJoin | Thread is bein waited to be joined. |
Suspended | Thread is suspended. |
AbortRequested | Thread abortion is requested. |
Aborted | Thread is aborted. |