xtd 0.2.0
Loading...
Searching...
No Matches

◆ queue_user_work_item() [1/2]

static bool xtd::threading::thread_pool::queue_user_work_item ( const wait_callback callback)
static

Queues a method for execution. The method executes when a thread pool thread becomes available.

Parameters
callbackA pointer function that represents the method to be executed.
Returns
true if the method is successfully queued; NotSupportException is thrown if the work item could not be queued