On Fri, Jul 28, 2000 at 11:16:20AM +0700, 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() ?
There are native semaphores in the current 2.3 RTLinux.
>
> 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.
See the regression tests for the semaphores. OF course, you still can
see the code.
>
>
> -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/
--
---------------------------------------------------------
Victor Yodaiken
FSMLabs: www.fsmlabs.com www.rtlinux.com
FSMLabs is a servicemark and a service of
VJY Associates L.L.C, New Mexico.
-- [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/