Progress thread stop synchronization configuration.
More...
#include <worker_progress_thread.h>
|
| | StopConfig (uint64_t callbackTimeoutNs=3000000000, uint64_t signalIntervalNs=100000000) |
| | Create stop synchronization configuration.
|
|
|
uint64_t | callbackTimeoutNs |
| | Maximum time to wait for each stop callback.
|
|
uint64_t | signalIntervalNs |
| | Interval for waking the worker while waiting.
|
Progress thread stop synchronization configuration.
◆ StopConfig()
| ucxx::WorkerProgressThread::StopConfig::StopConfig |
( |
uint64_t | callbackTimeoutNs = 3000000000, |
|
|
uint64_t | signalIntervalNs = 100000000 ) |
|
inlineexplicit |
Create stop synchronization configuration.
- Parameters
-
| [in] | callbackTimeoutNs | maximum time in nanoseconds to wait for each stop callback. |
| [in] | signalIntervalNs | interval in nanoseconds for waking the worker while waiting. A value of 0 disables periodic wakeups: the worker is signaled once before each wait and not again until the wait returns. |
The documentation for this struct was generated from the following file: