Subject:
|
Re: The BrickOS Task Manager
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Mon, 5 Jan 2004 13:04:52 GMT
|
Viewed:
|
3733 times
|
| |
| |
On Mon, Jan 05, 2004 at 12:54:02AM +0000, Michael Purvis wrote:
> ...
> while !(rowdone && coldone);
only as a side note:
you shouldn't really do this. you are burning precious cpu-cycles here.
it should look something like
while(!(rowdone && coldone))
msleep(5);
if you're in a hurry you can make smaller msleep's...
--
Florian Schmidt
schmidt_florian@gmx.de
|
|
Message is in Reply To:
| | Re: The BrickOS Task Manager
|
| (...) Hmm... it doesn't seem to recognize pid_t as a valid type. I have a document of the functions in brickOS that indicates execi returning an int. Which is it? (...) Still confused... I'll post the poignant code: pid_t rowthread; pid_t colthread; (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
|
15 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|