Public Member Functions | Public Attributes | List of all members
ucxx::WorkerProgressThread::StopConfig Struct Reference

Progress thread stop synchronization configuration. More...

#include <worker_progress_thread.h>

Public Member Functions

 StopConfig (uint64_t callbackTimeoutNs=3000000000, uint64_t signalIntervalNs=100000000)
 Create stop synchronization configuration. More...
 

Public Attributes

uint64_t callbackTimeoutNs
 Maximum time to wait for each stop callback.
 
uint64_t signalIntervalNs
 Interval for waking the worker while waiting.
 

Detailed Description

Progress thread stop synchronization configuration.

Constructor & Destructor Documentation

◆ StopConfig()

ucxx::WorkerProgressThread::StopConfig::StopConfig ( uint64_t  callbackTimeoutNs = 3000000000,
uint64_t  signalIntervalNs = 100000000 
)
inlineexplicit

Create stop synchronization configuration.

Parameters
[in]callbackTimeoutNsmaximum time in nanoseconds to wait for each stop callback.
[in]signalIntervalNsinterval 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: