LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-04-2005, 02:26 AM   #1
keiwu
Member
 
Registered: Feb 2005
Posts: 77

Rep: Reputation: 15
what advantage do kernel thread has over process?


And what disavantage do kernel thread has over process?
Plz give an application that will benefit from using theads, and one doesn't.

thank you
 
Old 03-04-2005, 02:31 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Please, do not double-post. Your other thread is found here:

http://www.linuxquestions.org/questi...hreadid=297478

Regards!
 
Old 03-04-2005, 05:12 AM   #3
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
http://dis.cs.umass.edu/~wagner/threads_html/sect1.html

and...

http://www.google.com
 
Old 03-04-2005, 04:04 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It's hard to talk about adavantages and disadvantages. Threads and processes are just designed to different tasks. When you have an app that needs to run another, get its result and do something with it, you'll use a process. If you have an app that does many things at one time (let's say a web server that handles a number of connections, but shares large amount of data between them), thread is a good solution.
 
  


Reply



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
Does 2.6.X kernel offer an advantage? linuxhippy Slackware 6 04-07-2005 06:56 PM
what advantage do kernel thread has over process? keiwu Linux - Software 1 03-04-2005 07:18 PM
Multi-Thread/Process Pipes JanusPaul Programming 2 02-27-2005 02:52 PM
Is there a particular advantage to compiling a new kernel? EOHooligan Slackware 5 01-27-2005 02:33 PM
Process and thread PIDs msriram_linux Programming 4 11-27-2004 11:43 AM

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

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