xtd
0.2.0
Loading...
Searching...
No Matches
◆
queue_user_work_item()
[2/2]
static bool xtd::threading::thread_pool::queue_user_work_item
(
const
wait_callback
&
callback
,
std::any
state
)
static
Queues a method for execution. The method executes when a thread pool thread becomes available.
Parameters
callback
A pointer function that represents the method to be executed.
state
An object containing data to be used by the method.
Returns
true if the method is successfully queued; NotSupportedException is thrown if the work item could not be queued
xtd
threading
thread_pool
Generated on Sat Sep 14 2024 21:25:32 for xtd by
Gammasoft
. All rights reserved.