LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 03-12-2009, 03:26 PM   #1
fardad
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?

thanks
Fardad
 
Old 03-16-2009, 06:55 AM   #2
IND
LQ Newbie
 
Registered: Mar 2009
Posts: 7

Rep: Reputation: 0
Hi,
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...

thanks...
 
  


Reply


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 09:13 PM
Does anyone understand exactly how to schedule work in kernel >= 2.6.20? sixerjman Linux - Kernel 1 09-04-2007 12:39 AM
LXer: Schedule Tasks Using Gnome-schedule (cron & at GUI) LXer Syndicated Linux News 0 07-28-2007 01:31 AM
cron jobs work fine when invoked from webmin but fail on schedule jillu Linux - Enterprise 3 01-20-2005 02:34 PM
C++ editing fucntion in console program? lrt2003 Programming 1 05-26-2004 03:59 PM


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

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