Manikandan A wrote:
> 
> Hi All,
> 
>     Is there any synchronization calls like semaphore/mutex for the real
> time threads ? . I could n't find anything related to synchronization in
> the listed RT-Linux API's.
> 
> Thanks in advance!!
> 
> Regards
> Mani.

Hi Mani,

Under RTAI/RTL you can use pthread_mutex_lock, pthread_mutex_unlock.  In
addition RTAI supports the following semaphore functions: 

      rt_sem_init 
      rt_sem_delete 
      rt_sem_signal 
      rt_sem_wait 
      rt_sem_wait_if 
      rt_sem_wait_until 
      rt_sem_wait_timed 

see: doc_rtai/manual.html in the RTAI distro

Regards, Stuart


-- [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