C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 02-22-2008, 02:24 PM   #1
Registered User
 
Join Date: Oct 2007
Posts: 47
changing the prioirty form inside the rt-class?

Hi,

If I add some scheduling logic inside the rt-class, in task_tick_rt(..) and if I from this function want to change the priority, higher or lower.

As I do now I only change the p->rt_priority to what I want and then call requeue_task_rt(rq, p). Is this the right way? Or how is it done?

Thanks
micke_b is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Polymorphism Theory Question - Polymorphic Class Definition. ventolin C++ Programming 3 10-31-2005 12:05 PM
My Window Class Epo Game Programming 2 07-10-2005 02:33 PM
Data init inside of template class function Bubba C++ Programming 1 04-24-2002 03:11 PM
Difficulty superclassing EDIT window class cDir Windows Programming 7 02-21-2002 05:06 PM
how do i define a const inside a class under private Unregistered C++ Programming 3 11-01-2001 06:01 PM


All times are GMT -6. The time now is 05:41 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22