> Anderson Borges wrote:
> 
> How can I implement communications between two Real-Time Tasks.
> There is any type of semaphores to use with RT to synchronize two
> Real-Time Tasks?

You have several choices.

First, NMT RT-Linux includes Jerry Epplin's rt_ipc package, which
supports semaphore and message passing. But this package is coded
with RT-Linux v1.x task API, i.e. it is not written with pthread API.

Second, RTAI_RTL_FIFOS. It is from RTAI, but it also support NMT
RT-Linux. If you replace fifo module with this rtai_fifo module,
you can use orginal NMT fifo API, pthread API and semaphore & message
passing. But nonblocking services are only supported in kernel(e.g
rtf_sem_trywait() is possible but rtf_sem_wait() is not).

Third, I heard that NMT RT-Linux team have been implementing mutex.
But I don't know much more about it and how long they take to finish
the work.

If I have wrong information, please correct me.

--
Heo, Sung-Gwan                    

Software Engineer                 mailto:[EMAIL PROTECTED]
R&D Center                        phone:+82-415-861-3887 
Turbo-Tek Co., Ltd.               http://www.turbotek.co.kr
--- [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