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 / *1559 (-5)
  Re: getpid?
 
(...) I wouldn't want to do so, not because the H8 does not implement inline, but because cpid is a local variable to tm.c (although it is not declared as such...). I think it's cleaner to have this user - kernel interface in real functions. Eddie (...) (24 years ago, 15-Dec-00, to lugnet.robotics.rcx.legos)
 
  Re: getpid?
 
Eddie, Would there be any problem making these inline, seeing how they're one-liners? (I'm assuming here that the H8 target implements inline) Regards, ROSCO (...) (24 years ago, 15-Dec-00, to lugnet.robotics.rcx.legos)
 
  Re: getpid?
 
(...) The following patch will add both getpid() and getppid() to legOS: diff -u -r1.2 unistd.h --- include/unistd.h 2000/08/01 01:12:40 1.2 +++ include/unistd.h 2000/12/14 21:49:56 @@ -94,4 +94,7 @@ //! kill all processes with priority lower or (...) (24 years ago, 14-Dec-00, to lugnet.robotics.rcx.legos)
 
  Re: Any difference btw RCX1.0 and RCX1.5?
 
(...) Seems there are some nice additions (differential, optic fiber), but not many. See (URL) However, one big difference is that if the RIS 1.5 is operated with (...) Correct me if I'm wrong, but my impression is that the plug of the 1.0/2.0 is (...) (24 years ago, 14-Dec-00, to lugnet.robotics.rcx.legos)
 
  Re: getpid?
 
(...) [code snipped] Ah, I understand. You could still use my method, but you'd have to pass the pid in as a parameter to the functions that need to know it, which would be ugly. (...) Well, get hacking! ;) (24 years ago, 14-Dec-00, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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