LinuxQuestions.org
Visit Jeremy's Blog.
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 09-07-2009, 07:55 AM   #1
thangappan
Member
 
Registered: May 2009
Posts: 52

Rep: Reputation: 16
Question Compare fork and thread


Can you please differentiate the points between fork and thread?
Which one is efficiency and reliability?
 
Old 09-07-2009, 09:59 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Well, a fork generally has from two to five points, one on the end of each tine. Threads usually have only two points, one on each end ... though one end may be hidden in the wind of the bobbin.

There are many other meanings for "fork" and "thread", but it is not clear, from your question, which you intend. Perhaps something like this is closer to want you want?

GIYF: search term

fork vs thread

ask about what you don't understand.
 
Old 09-07-2009, 09:05 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Sounds a little like homework; apologies if I'm wrong.
http://en.wikipedia.org/wiki/Fork_%2...ting_system%29
http://en.wikipedia.org/wiki/Multithreading
 
  


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
fork vs thread/pthread powerplane Programming 17 08-11-2012 03:13 PM
python thread safety: printing from thread to redirected stdout - safe? BrianK Programming 2 10-11-2010 12:28 PM
the return value of getpid() called from main thread and new thread r identical !!! cryincold Programming 3 02-29-2008 02:37 AM
what happens if i create a thread and then fork the process? Thinking Programming 7 10-31-2005 03:22 PM
Apps compare in one thread user_of_slack Linux - Software 1 10-04-2004 12:03 AM


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