Hi, I wanted to understand how rt_pipe_stream works and how it can be useful. I wanted to create a demo application using it. But currently I could not figure out how to make use of it.
I saw a sample pipe application under: lib/alchemy/testsuite/pipe-1.c. Based on this I am trying to create a new application that uses rt_pipe_stream. The rt_pipe_stream is working fine, but I wanted to test the scenario based on its description. My understanding is that: Regular thread keeps write one by one char to rtipc, and the real-time task reads one char at a time. Then real-time task call rt_pipe_stream which keeps storing the char. Finally, when regular thread calls "read" then all the data from stream will be read by the regular thread at once. Hope my understanding is correct. I want to prepare a sample application for the same. If any reference for rt_pipe_stream is available please let me know. Thanks, Pintu _______________________________________________ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai