What are the "best practices" or "better design patterns" for posting message from one thread to others?

This page summarizes the projects mentioned and recommended in the original post on /r/learnprogramming

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • cpp-ipc

    C++ IPC Library: A high-performance inter-process communication using shared memory on Linux/Windows.

  • I'm working on a complex c++ project for my company these days. First, I need to pass 5 different types of messages (and attached data) from Process A to Process B. I use cpp-ipc and it works fine. And in Process B, there is one thread (called thread b) which is responsible for receiving those messages and "posting" them to other threads. I can't determine (and of course, don't know) the good solutions. My current idea is to use 5 concurrent queues for the 5 types of message. When thread b receives a message, it pushes the message to a queue, and other threads take the message from the queue. pseudocode example:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Curseforge (Overwolf) on Linux Mint

    1 project | /r/linux_gaming | 11 Dec 2023
  • What are the requirements to play Vault Hunters?

    1 project | /r/VaultHuntersMinecraft | 10 Dec 2023
  • Heellllp

    1 project | /r/feedthebeast | 6 Dec 2023
  • Exit Code 1

    1 project | /r/Minecraft | 5 Dec 2023
  • Windows 11 Insider Dev channel build 23493 still runs on earliest Windows on ARM64 (Snapdragon 835) devices

    1 project | /r/windowsinsiders | 7 Jul 2023