System::Threading namespace
Contents
[
Hide
]Classes
Class | Description |
---|---|
AutoResetEvent | Event to notify waiting thread that resets automatically. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. |
EventWaitHandle | Event that can be sent to waiting thread. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. |
Interlocked | Provides API for thread-safe operations. This is a static type with no instance services. You should never create instances of it by any means. |
ManualResetEvent | Event to notify waiting thread that does not reset automatically. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. |
Monitor | Class Monitor provides a mechanism that synchronizes access to objects. |
Mutex | Mutex implemnetation. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. |
Semaphore | Semaphore implementation. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. |
Thread | Thread implementation. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. |
ThreadPool | Thread pool API allowing it pushing jobs into queue to be read by pool of worker threads. This is a static type with no instance services. You should never create instances of it by any means. |
ThreadPoolImpl | Thread pool internal data. This is a singleton type with memory management done by access function(s). You should never create instances of it directly. |
Timer | Timer class that executes job item in separate thread after delay. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. |
TimerQueue | Queue that handles Timer objects. This is just an implementation. Timer objects register there by themselves, you don’t have to do so to use them - use Timer class API instead. This is a singleton type with memory management done by access function(s). You should never create instances of it directly. |
WaitHandle | Waiting primitive base class. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. |
Enums
Enum | Description |
---|---|
ApartmentState | Sets apartment state of the thread. |
EventResetMode | Indicates how event state resets. |
ThreadState | State of the thread. |
Typedefs
Typedef | Description |
---|---|
SendOrPostCallback | |
ParameterizedThreadStart | Thread function with single parameter. |
ThreadStart | Thread function with no parameters. |
WaitCallback | Callback item to be executed once there is a spot. |
TimerCallback | Callback function to be called by timer. |
wait_handle_t | Handle type. |