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 (-20)
  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)
 
  Re: Any difference btw RCX1.0 and RCX1.5?
 
(...) I don't know if there are differences in the sets (pieces). However, one big difference is that if the RIS 1.5 is operated with re-chargeable batteries, the batteries cannot be charged in the RCX since there is no plug anymore. Best regards (...) (24 years ago, 14-Dec-00, to lugnet.robotics.rcx.legos)
 
  Re: getpid?
 
(...) this is not exactly what I meant. What I am looking for is how can a piece of code determine which process is currently executing it. something like: main(...) ... create 2 processes with pid1, pid2 ... these processes occasionally call (...) (24 years ago, 14-Dec-00, to lugnet.robotics.rcx.legos)
 
  Re: getpid?
 
(...) AFAIK there aren't any built-in mechanisms. However, when a thread is launched, the launching process does get its PID as a return value from execi(). I'm thinking you could pass in a pointer to some storage in the argv, and then update that (...) (24 years ago, 14-Dec-00, to lugnet.robotics.rcx.legos)
 
  looking for programmers
 
Dear Sir- P.S.1 Contemporary Art Center, NY (www.ps1.org), a major contemporary art museum affiliated with the Museum of Modern Art in New York is opening a new exhibition in a few days, this Sunday, the 17th, called Some New Minds. As part of the (...) (24 years ago, 14-Dec-00, to lugnet.robotics.rcx.legos)
 
  Any difference btw RCX1.0 and RCX1.5?
 
Is there any difference between RCX1.0 and RCX1.5? I have seen them on sale at two different prices. (24 years ago, 13-Dec-00, to lugnet.robotics.rcx.legos)
 
  V2.0 will be out in Nov. 2001
 
1. First of all, thanks for the replies guys. 2. To Peter; I was told that version 2.0 will come available in November of 2001. But get this, in the mean time, there will be absolutely no Robotics Invention Systems of any number available at all; (...) (24 years ago, 13-Dec-00, to lugnet.robotics.rcx.legos)
 
  getpid?
 
Hello, I am looking for a way how to obtain an identifier of a calling thread/process... I have to distinguish between different threads in the code and thus missing some equivalent to UNIX-like thr_self() / pthread_self() / getpid() any (...) (24 years ago, 13-Dec-00, to lugnet.robotics.rcx.legos)
 
  Mindstorm V2.0 RCX
 
Does anyone know if the new Mindstrom V2.0 RCX come with the AC power adpater like the v1.0 has? I perfer to have this option for stationary robots than the non version like 1.5 RCX brick. ahui Also, will LEGO still sell the rcx 1.0 or will that (...) (24 years ago, 13-Dec-00, to lugnet.robotics.rcx.legos)
 
  Re: Mindstorm Recall?
 
(...) The difference in parts seems to be minor, look here: (URL) of course the RCX 1.5 doesn't have a power adaptor, so they won't be able to recycle them. Also, as far as I could see, DACTA always sold bricks with the power adaptor. Jürgen "should (...) (24 years ago, 13-Dec-00, to lugnet.robotics.rcx.legos)
 
  Re: Mindstorm Recall?
 
(...) My mother-in-law runs a toy store chain, and she got a stock-balancing note from TLC requesting the old 1.5 kits back. It stated that the 2.0 kits will be out in Q1 of 2001. No mention of upgrade kits. I suspect that the component bags WILL be (...) (24 years ago, 12-Dec-00, to lugnet.robotics.rcx.legos)
 
  Re: Mindstorm Recall?
 
I suspect there is a combination of things going on here: 1. Christmas rush for the kits that are out there. 2. No further production of 1.5 since 2.0 will be out shortly (anyone know when, exactly?) 3. Possible recycling of kits still in TLC's (...) (24 years ago, 12-Dec-00, to lugnet.robotics.rcx.legos)
 
  Mindstorm Recall?
 
Last week I called S@H about getting a 9719, the Robotics Invention System: version 1.0. No problem, they said they had plenty. This week when I talked to them; they said that they were out of them, that they were now discontinued! I told the lady, (...) (24 years ago, 12-Dec-00, to lugnet.robotics.rcx.legos)
 
  RCXTCL.ZIP is repaired - finally!
 
Thanks for the flood of email indicating that RCXTCL is broken! My own stupidity kept reloading the cached version, and it was, of course, OK. Once I reloaded Windows on my machine, the problem was obvious. Anyways, the new RCXTCL.ZIP can be loaded (...) (24 years ago, 9-Dec-00, to lugnet.robotics.rcx.pbforth, lugnet.robotics, lugnet.robotics.rcx.legos)
 
  Cygwin
 
Hi All, I've recently installed the new cygwin distribution on my system, and tried to get legos working with it..... my legos works fine with cygwin b20, but this new distribution seems to kill it :( Now, I think the reason is because the older (...) (24 years ago, 10-Dec-00, to lugnet.robotics.rcx.legos)
 
  Compiling Utilities under Windows/Dos
 
I've been experimenting with the Mingw port of the GCC toolchain and have succesfully built almost all of the utility programs. firmdl3.exe even works in the fast mode! The only thing left is dll.exe. Specifically, keepalive.c won't compile because (...) (24 years ago, 6-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