Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8502479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:29:47+00:00 2026-06-11T01:29:47+00:00

I have legacy application code written for a real-time operating system (RTOS). Most of

  • 0

I have legacy application code written for a real-time operating system (RTOS). Most of the code uses an OS-Specific Inter-Process-Communication (IPC) call, that looks very similar to a signal.

It has two IPC calls:

  • status_code signal_push(connector, event)
  • event signal_wait(connector)

I want to slowly port that application to Linux in order to improve testing and debugging.

I want to create a task-description file, that covers tasks their associated IPC primitives with events and handlers.

An example would look like this:

SignalHandler(connector=crypto_connector, 
              events = [(cyrpto_init, crypto_init_handler),
                        (crypto_run, crypto_run_handler),
                        (crypto_done, crypto_done_handler]) 

Task(name=crypto, priority=1, stack_size=256, connector=crypto_connector)

From this description file it should generate a thread for each task that calls the corresponding handler, that is written by an engineer. it shall also generate call stubs similar to emit_crypto_init()

It is quite clear to me what kind of code I shall generate from this description for the RTOS but I’m still uncertain, what kind of IPC I should use for Linux. For the first version probably anything that keeps behaviour is okay. For future versions, it could be plausible to use Linux on target and therefore the IPC should have little overhead.

I found the following IPC mechanisms:

  • Unix signals (seems as if it is not an option)
  • Unix sockets (do a lot more than just sending a signal)
  • semaphores (do less, but we could use global integers to pass the event to the other party)

Are there more suitable IPC solutions out there, that could fit this requirement?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T01:29:48+00:00Added an answer on June 11, 2026 at 1:29 am

    There are several possibilities:

    • Boost Signals (not to be confused with Boost Interprocess) – http://www.boost.org/doc/libs/1_51_0/doc/html/signals.html, other is
    • cpp-events http://code.google.com/p/cpp-events/
    • libsigc++
    • Qt Signals and Slots
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a legacy application that uses the windows time zone information for calculating
I have written java application that makes socket connections with a legacy system. How
I have a legacy system that I'd like to extend with an application written
I have legacy win.forms application written in pretty straightforward approach where forms communicate with
I have a legacy application that, at some point, generates the following code in
I have a legacy web application that was written long before there were even
I'm trying to debug a legacy code written for Linux. Sometimes the application gets
I have an application (Legacy code) that contains interface Icomponent with save() methods and
I have a legacy application at my hand which uses ASP.NET WebForms. My problem
I have a rather legacy application EXE written in VB6 and running on a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.