LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2011, 09:13 PM   #1
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: Fedora14,Scientific 6.1?, Mandriva 2010 ;GO MAGEIA!!!Next up Gentoo
Posts: 838

Rep: Reputation: 52
Thread Scheduling Question.


Does a Thread time-share with other threads that are part of (Edit: the same) process, or do they get equal opportunity as compared with a different process all together?

Thanks in advance!

Last edited by theKbStockpiler; 12-08-2011 at 09:41 PM.
 
Old 12-19-2011, 09:47 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,862

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
I think that I found a succinct answer to your question in an article by Moshe Bar:

"Linux doesn't really make any distinction between a process and a thread from a memory management and scheduling point of view."

http://www.linuxjournal.com/article/3910

Therefore a thread competes on an equal footing with all other threads without reference as to what process they are a part of.

--------------------
Steve Stites

Last edited by jailbait; 12-19-2011 at 09:50 PM.
 
1 members found this post helpful.
Old 12-20-2011, 09:03 PM   #3
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: Fedora14,Scientific 6.1?, Mandriva 2010 ;GO MAGEIA!!!Next up Gentoo
Posts: 838

Original Poster
Rep: Reputation: 52
Thank You for the Reply and Link!

Sorry it took so long for a response. All I could find myself were a few documents that danced around the subject. That's a great article! I thought that Linux Journal had only Marketing style articles. I was wrong.
 
  


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
need to find the appropriate thread scheduling and priority saurin Programming 1 09-10-2009 04:23 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:31 AM.

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