LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-10-2005, 09:17 AM   #1
vinayparam
LQ Newbie
 
Registered: Jan 2005
Location: Bangalore, INDIA
Distribution: RedHat 9.0
Posts: 1

Rep: Reputation: 0
How to create one non-preemptible and another preemptible thread in the user space?


Hello All,

I want one of the user threads to act as a non-preemptible thread. As soon as an
interrupt comes, the user thread is woken up. But, the problem is that it is being preempted
before it goes back to a sleep.
Another thread should execute only when the other thread is not executing.
One trial made was to make the non-preemptible thread as FIFO scheduled and
the pre-emptible thread as Round - Robin scheduled. But this didnot yield the desired
results. Is there anything that I have missed ?
How is it possible to implement such a situation where one thread is
non-preemptible and the other has to be always preemptible(only by the other thread) ?

Thanks.
Vinay.
 
  


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
notify user space application from the kernel space lordofring Linux - Software 2 06-22-2009 12:32 PM
Preemptible Kernel (PREEMPT)---yes or no? ganja_guru Linux - Software 8 09-05-2004 11:29 AM
Preemptible Kernel? mooreted Linux - General 2 04-24-2004 07:40 PM
preemptible kernel and dma (?) quatsch Linux - Software 11 02-22-2004 01:50 PM
preemptible & low latency in 2.6.0test ? yocompia Linux - General 0 09-27-2003 06:29 PM

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

All times are GMT -5. The time now is 07:24 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