>Would someone please write me a code snippet which shows the proper
>usage of the select function when used to wait for data to be sent to a fifo
>from kernel-space.
Here you are:
fd_set rfds;
int fd_control,fd_data,fd_error;
if ((fd_data = open(RT_FIFO_DATA, O_RDONLY)) <
Hi Daniel,
I think the reply will be the same for RTL & RTAI users :-).
On Thu, Jun 29, 2000 at 08:31:15PM -0500, daniel sheltraw wrote:
> Hello RTAIers
>
> Would someone please write me a code snippet which shows the proper
> usage of the select function when used to wait for data to be sent t
Hello RTAIers
Would someone please write me a code snippet which shows the proper
usage of the select function when used to wait for data to be sent to a fifo
from kernel-space. Does select to a busy-wait?
Thanks,
Daniel
G