![]() |
dfx 0.1.0
Linux-based dynamic dataflow executor
|
Sink storage and "new sink" marker for hot swapping. More...
#include <dfx-pcapng/Worker.hpp>
Public Attributes | |
| SinkPtr | sink |
| < | |
| std::atomic_bool | isNew {false} |
| True if this sink was just installed/replaced and must be handled by the worker thread. | |
Sink storage and "new sink" marker for hot swapping.
Sink setters may be called from non-worker threads. The sink pointer is updated under a mutex, and isNew is set so the worker thread can perform any required initialization/transition in a controlled context.
| std::atomic_bool dfx::Pcapng::Worker::SinkData::isNew {false} |
True if this sink was just installed/replaced and must be handled by the worker thread.
| SinkPtr dfx::Pcapng::Worker::SinkData::sink |
<
Active sink instance (optional).