To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3190
3189  |  3191
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:
  Re: compile error with pid_t
 
(...) pid_t is no defined type. Regards, Michael (22 years ago, 23-Mar-03, to lugnet.robotics.rcx.legos)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR