Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 03-12-2009, 02:26 PM   #1
LQ Newbie
Registered: Apr 2008
Posts: 11

Rep: Reputation: 0
schedule or signal a work (fucntion) from within the kernel code

Hi All,

I am trying to schedule a work from my module, from kernel code. Could you please give me a hint how to do this? Should I be using Work Queue?

Old 03-16-2009, 05:55 AM   #2
LQ Newbie
Registered: Mar 2009
Posts: 7

Rep: Reputation: 0
If you are using RTlinux kind of kernel then you can give the nice (which deals with priority) values to the code,so you can schedule the task but where as in normal
embedded kernel(not RTOS),i guess we are not supposed to set the nice values to the task, though you have set the nice values statically but on the fly again it would be modified because the scehduler itself written like that...but i'm not sure 100%, please go through the code sched.c this may help you out...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
schedule policies about kernel enorm Linux - Kernel 1 09-18-2007 08:13 PM
Does anyone understand exactly how to schedule work in kernel >= 2.6.20? sixerjman Linux - Kernel 1 09-03-2007 11:39 PM
LXer: Schedule Tasks Using Gnome-schedule (cron & at GUI) LXer Syndicated Linux News 0 07-28-2007 12:31 AM
cron jobs work fine when invoked from webmin but fail on schedule jillu Linux - Enterprise 3 01-20-2005 01:34 PM
C++ editing fucntion in console program? lrt2003 Programming 1 05-26-2004 02:59 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration