Taskolib  1.3.3
Public Attributes | List of all members
task::CommChannel Struct Reference

Detailed Description

A struct combining a message queue and several atomic flags.

The message queue transports messages from a worker thread to the main thread. The flags are used to send requests for various actions (e.g. termination) from the main thread to the worker thread.

#include <CommChannel.h>

Public Attributes

LockedQueue< Messagequeue_ { 32 }
 
std::atomic< bool > immediate_termination_requested_ { false }
 

Member Data Documentation

◆ immediate_termination_requested_

std::atomic<bool> task::CommChannel::immediate_termination_requested_ { false }

◆ queue_

LockedQueue<Message> task::CommChannel::queue_ { 32 }

Referenced by task::send_message().


The documentation for this struct was generated from the following file: