Taskolib  1.3.3
CommChannel.h
Go to the documentation of this file.
1 
23 // SPDX-License-Identifier: LGPL-2.1-or-later
24 
25 #ifndef TASKOLIB_COMMCHANNEL_H_
26 #define TASKOLIB_COMMCHANNEL_H_
27 
28 #include <atomic>
29 
30 #include "taskolib/LockedQueue.h"
31 #include "taskolib/Message.h"
32 
33 namespace task {
34 
43 {
45  std::atomic<bool> immediate_termination_requested_{ false };
46 };
47 
48 } // namespace task
49 
50 #endif
Declaration of the LockedQueue class.
Declaration of the Message class.
A thread-safe locking message queue.
Definition: LockedQueue.h:66
Namespace task contains all Taskolib functions and classes.
Definition: CommChannel.h:33
A struct combining a message queue and several atomic flags.
Definition: CommChannel.h:43
std::atomic< bool > immediate_termination_requested_
Definition: CommChannel.h:45
LockedQueue< Message > queue_
Definition: CommChannel.h:44