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 / 3622
3621  |  3623
Subject: 
Re: The BrickOS Task Manager
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sat, 10 Jan 2004 04:25:18 GMT
Viewed: 
3321 times
  
In lugnet.robotics.rcx.legos, Joseph Woolley wrote:
IIRC the issue was that Task, Process and Thread were all used to
represent the same item/concept in the Kernel code.

After some discussion, it was decided that the word Task would be used
in all cases.  This improves readability, etc... (ie. Task Manager)

Sorry, I'm still just not getting it at all. I have type errors all over the
place trying to pass arguments to my task. Could someone please simply email me
or post an example of a program that starts, runs two or more threads, and will
actually compile?

Thanks very much,
Mike



Message has 1 Reply:
  Re: The BrickOS Task Manager
 
(...) This works. Steve ---- #include <unistd.h> #include <dbutton.h> #include <dmotor.h> int MotorSpeed = 0; int RunMotor() { while (!shutdown_requested()) { motor_a_dir(MotorSpeed); } return 0; } int CheckButton() { while (!shutdown_requested()) { (...) (20 years ago, 10-Jan-04, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: The BrickOS Task Manager
 
IIRC the issue was that Task, Process and Thread were all used to represent the same item/concept in the Kernel code. After some discussion, it was decided that the word Task would be used in all cases. This improves readability, etc... (ie. Task (...) (20 years ago, 6-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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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