Subject:
|
Re: compile error with pid_t
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Sun, 23 Mar 2003 19:23:46 GMT
|
Viewed:
|
3119 times
|
| |
| |
In lugnet.robotics.rcx.legos, Michael Obenland writes:
> Venkata Tumati wrote:
>
> > pid_t pid1,pid2,pid3; <line causing error
> >
> > and this is the error i am getting
> > drivers.c:13: parse error before `pid1'
> > drivers.c:13: warning: type defaults to `int' in declaration of `pid1'
>
> pid_t is no defined type.
>
> Regards,
>
> Michael
Somewhere along the way the terminology changed from 'process id' to 'thread
id'. So it should work if you change it to tid_t . I ran in to the same
problem a while ago when trying to learn how to use threading based on an
old example.
Rob
|
|
Message is in Reply To:
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|