On Mon, Jun 19, 2000 at 04:56:12AM -0500, Gusa wrote:
> Hi
> 
> As a newbie user of RTLinux, i�m continuosly finding questions that i
> can�t answer myself, so i came back to the list. Perhaps, some of them
> sound stupid, I would like to apollogize in advance
> 
> Some days ago i posted a questions that had to do with RT_TASK and
> threads.
> The questions intended to compare bothy of them in terms of time,
> resources and so on. As my english is not very good, and sometimes I
> can�t speak clear, i�ll intent another time.
> 
> I was trying to compile a code thar i�ve found in the web, the clasic
> producer-consumer problem.
> There was errors relative a RT_TASK. It seems that such a estructure is
> nor supported by kernel 2.0 or something like that (the one that i�m
> using).
> 
> The error that appears was
> 
> producer.c:20: parse error before 'p'
> 
> The line 20 is
> 
> RT_TASK p;
> 
> 
> I couldn�t compile anything that contains RT_TASK structure.
> Can anybody suspect something??

Yes. Please use "pthread_t" instead of RT_TASK.

> 
> Thanks, worm
> 
> 
> 
> 
> 
> -- [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/

Reply via email to