LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 02: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, 05: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:50 PM.

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
Open Source Consulting | Domain Registration