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 / 2216
2215  |  2217
Subject: 
Re: threads
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 17 Jan 2002 08:37:42 GMT
Viewed: 
1643 times
  
Albert

two of your threads terminate shortly after being started

yea, I see what you
are getting at. I am sure that I was hitting the bumper while the threads
were still alive, but I
will check again. I think this also points out some of the dangers of just
dumping in some poorly
thought out dummy code to test a programs basic structure?

I guess the question I am really
asking is, has anyone else used legOS 0.2.5 to kill, do some action and then
reinitiialise
multiple threads sequentially from within another thread? Should what I am
trying to do with
threads work?

Mike



Message is in Reply To:
  Re: threads
 
two of your threads terminate shortly after being started (...) as far as I know, legOS provides no functionality for determining whether or not a thread is alive or not. You need to keep track of this yourself (e.g. using a variable/flag that gets (...) (22 years ago, 16-Jan-02, to lugnet.robotics.rcx.legos)

18 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