Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 11-16-2001, 05:41 AM   #1
LQ Newbie
Registered: Aug 2001
Location: London
Distribution: SuSE 7.1/7.3
Posts: 25

Rep: Reputation: 15
running pthreads under SCHED_FIFO policy


I've been 'playing around' converting the scheduling policy of one of my programs to run under SCHED_FIFO.

The program basically starts up a number of pthreads which all run concurrently until they are stopped externally.

I've had no problem changing the scheduling policy of the threads which are created by the main program but I keep getting SIGSTOP signals when I try and create any child threads from within one of the real-time threads.

The child threads I'm attempting to create are running under the SCHED_OTHER scheduling policy (basically they have the default attr settings).

Can anyone explain what's going on?

Am I attempting an impossible operation? Should the child threads have SCHED_FIFO attributes? Is there a confict of resources when creating a new thread while running with in real-time?



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
How to set the password policy and lockout policy bin_shell Linux - Security 4 03-24-2010 03:30 PM
Samba System Policy, Default User Policy scooter549 Linux - General 2 02-24-2009 02:23 AM
GENTOO - problem running 'make load' for selinux policy Snerkel Linux - Distributions 3 09-21-2006 11:30 PM
GENTOO - problem running 'make load' for selinux policy Snerkel Linux - Software 1 01-24-2005 12:29 AM
problem using sched_fifo svsvenu Programming 3 07-29-2003 08:09 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:32 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
Open Source Consulting | Domain Registration