blocking on socket I/O and classic API
asahasra at fb.com
Tue Apr 12 18:58:27 UTC 2016
This is really a general question about mixing POSIX API calls and Classic API ones. We are using networking in our system (ARM Cortex-A9 based), so we have a task that is blocking on a socket file descriptor, just using a select() call. We are using RTEMS classic API for tasks and semaphores. We want to add a message queue to this task, and would like to have it be asynchronous, so that we can have a single blocking call that waits for either the socket FD or a message queue.
Is there a way to mix the classic message queue API with a socket FD for blocking? What are the ways in which people do this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users