System::Threading::ThreadPool::QueueUserWorkItem method
Contents
[
Hide
]ThreadPool::QueueUserWorkItem(WaitCallback) method
Puts work item into queue which is present with callback with no parameter.
static bool System::Threading::ThreadPool::QueueUserWorkItem(WaitCallback callback)
Parameter | Type | Description |
---|---|---|
callback | WaitCallback | Callback function to be used as a job. |
ReturnValue
Always returns true.
See Also
- Typedef WaitCallback
- Class ThreadPool
- Namespace System::Threading
- Library Aspose.PDF for C++
ThreadPool::QueueUserWorkItem(WaitCallback, const System::SharedPtr<System::Object>&) method
Puts work item into queue which is present with callback with no parameter.
static bool System::Threading::ThreadPool::QueueUserWorkItem(WaitCallback callback, const System::SharedPtr<System::Object> &state)
Parameter | Type | Description |
---|---|---|
callback | WaitCallback | Callback function to be used as a job. |
state | const System::SharedPtr<System::Object>& | Job function parameter. |
ReturnValue
Always returns true.
See Also
- Typedef WaitCallback
- Typedef SharedPtr
- Class Object
- Class ThreadPool
- Namespace System::Threading
- Library Aspose.PDF for C++