On Tue, Oct 10, 2000 at 06:53:43PM +0200, Joseph Canou wrote:
> hello
> i would like to create 2 tasks
> the task 1 should write datas in a rt_fifo
> the task 2 should read this rt_fifo, treat the datas an put the result
> in another rt_fifo
> what i try doesn't work
> does anybody have an example to do this dialogue between 2 tasks?
> thank you for your help

        2 tasks in kernel?  You'd probably be better off using shared memory.
The fifo's are mainly intended for communication between kernel and user-space
tasks.  For a good albeit long example, look at regression/fifo_app.c and
regression/fifo_module.c in the RTLinux distribution.  There's also an example
in examples/frank.

-- 
Nathan Paul Simons, Junior Software Engineer for FSMLabs
http://www.fsmlabs.com/
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to