LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-23-2008, 05:14 AM   #1
lekhakr
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
lekha

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


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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration