Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/QNX4/Group5/SThread.hpp

Go to the documentation of this file.
00001 /***
00002    NAME
00003      sthread
00004    PURPOSE
00005      Derived from Basic_thread, this is our main thread class.  It allows
00006      setting the priority and scheduling algorithm at start time.
00007    HISTORY
00008      b_goudre -- Feb 14, 2000: Created.
00009 ***/
00010 
00011 #ifndef __J2K__Train__ScheduleThread_HPP__
00012 #define __J2K__Train__ScheduleThread_HPP__
00013 
00014 #include <sys/sched.h>
00015 #include "thread.hh"
00016 
00017 class Schedule_thread : public Basic_thread
00018 {
00019 public:
00020     pid_type start(int algorithm = SCHED_RR,
00021                    int priority = 19,
00022                    size_t stack_size = default_stack_);
00023     // stuff needed for proper C++ object behavior
00024     Schedule_thread();
00025 };
00026 
00027 #endif

Generated on Sun Oct 14 18:46:42 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001