System::Threading::ThreadPoolImpl::QueueUserWorkItem method
ThreadPoolImpl::QueueUserWorkItem method
Adds work item to queue.
bool System::Threading::ThreadPoolImpl::QueueUserWorkItem(WaitCallback callback, const System::SharedPtr<System::Object> &state)
Parameter | Type | Description |
---|---|---|
callback | WaitCallback | Callback function to execute. |
state | const System::SharedPtr<System::Object>& | Callback function argument. |
ReturnValue
Always returns true.
See Also
- Typedef WaitCallback
- Typedef SharedPtr
- Class Object
- Class ThreadPoolImpl
- Namespace System::Threading
- Library Aspose.Font for C++