blocking on socket I/O and classic API
Adit Sahasrabudhe
asahasra at fb.com
Tue Apr 12 18:58:27 UTC 2016
Hi all,
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?
Thanks,
Adit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160412/287cb2e5/attachment.html>
More information about the users
mailing list