Try http://tesla.stereotaxis.com/~jerry/rt_ipc.tar.gz
It contains semaphore functions built upon the RTLinux
mutex functions.
Jerry
Adi Sudewa wrote:
>
> Hi all,
>
> I use rt_ipc module because I need semaphore functionality.
> In the rt_task_ipc_init() manual page, I read that to create task with
> rt_ipc functionalities, the application must use rt_task_ipc_init()
> instead of rt_task_init().
>
> I use rtlinux 2.x, and I use pthread_create() to create task instead of
> the obsolete rt_task_init(). Is there any replacement of
> rt_task_ipc_init() or I just can use pthread_create() ?
>
> Right now, I mix rt_sem_x() functions and pthread_create() and everything
> seems to be fine. But, you know, semaphores errors sometimes can't be
> noticed if we just watch the program running, so I must have a clear idea
> of the semaphore implementation characteristics.
>
>
> -dewa-
>
> -- [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/
-- [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/