Help answer threads with 0 replies.
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 07-23-2008, 04:14 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Default thread scheduling in linux

I find that in LINUX version 2.6.18 which is supposed to support POSIX IEEE 1003.1 standard, default thread is created with PTHREAD_INHERIT_SCHED.

Where as in FreeBSD i see default value of inheritsched is PTHREAD_EXPLICIT_SCHED. Although POSIX standard and Linux man page say default value of threadAttr.inheritsched must be PTHREAD_EXPLICIT_SCHED.

As a linux user(NON root) i am not let to change scheduling policy where as in FreeBSD i am let to create a thread with other scheduling policy.

Has anyone come across this issue?
Why do you think linux implementation is not following man pages of POSIX standards?

thanks for help

Last edited by lekhakr; 07-23-2008 at 04:16 AM.


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
Linux: Thread scheduling question cpillonel Linux - Software 1 02-15-2008 12:27 AM
Thread Scheduling using POSIX THREAD rameshtekumudi Programming 3 09-01-2006 10:47 AM
thread scheduling vkmgeek Programming 2 08-21-2006 10:29 AM
scheduling thread gives error bndpatel Programming 1 06-24-2005 01:54 PM
Need FIFO thread scheduling policy enigma82 Programming 0 04-20-2005 07:35 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:33 PM.

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