Computer ForumsComputers  

Go Back   Computer Forums > PC Technology Zone > Linux, BSD, other *nixes & Open Source Software

Reply
 
LinkBack Thread Tools Display Modes
Old 05-11-2008, 02:39 PM   #1 (permalink)
True Techie
 
simple's Avatar
 
Join Date: Jan 2006
Location: Earth
Posts: 171
Default Operating system concepts

what is difference between threads and light weight processes?


(i didnt know where to post this question. so feel free to move my post.)

by the way i have referred to two books by Tannenbaum and i have found contradictory answers and thats why i am asking this question here!!
thanks in advance n c ya!!
__________________
simple is offline   Reply With Quote
Old 05-13-2008, 08:50 PM   #2 (permalink)
True Techie
 
simple's Avatar
 
Join Date: Jan 2006
Location: Earth
Posts: 171
Unhappy Re: Operating system concepts

apparently there are NO answers ????
__________________
simple is offline   Reply With Quote
Old 05-13-2008, 09:02 PM   #3 (permalink)
Commander Super Mod Joker
 
Mak213's Avatar
 
Join Date: Sep 2004
Location: In Trotter's crawl space
Posts: 15,446
Default Re: Operating system concepts

Apparently no one here codes a OS. So we dont know the answer. Maybe ask in a Linux community where they have coder there who would know a answer to something like this?
__________________


Mak213 is offline   Reply With Quote
Old 05-15-2008, 05:56 AM   #4 (permalink)
True Techie
 
void's Avatar
 
Join Date: Oct 2005
Posts: 199
Default Re: Operating system concepts

A thread is a separate path of execution through an instance of a program contained within the address space of a process (In Linux a thread is implemented as a special process). A process, 'lightweight' or not, is an instance of a program in its own address space. By lightweight I understand you mean the memory size that a process will consume. This is determined by the kernel at runtime and will allocate the processes address space accordingly. This may increase during runtime with the creation of threads and allocation of heap memory. You can not determine what the kernel will do, your process may even be killed by the Linux kernel OOM Killer in certain situations. For more information read the Advance Linux Programming book, it contains chapters dedicated to threads and processes with programming examples in C using pthreads and the exec* family of function calls.
void is offline   Reply With Quote
Old 05-17-2008, 09:36 AM   #5 (permalink)
True Techie
 
simple's Avatar
 
Join Date: Jan 2006
Location: Earth
Posts: 171
Unhappy Re: Operating system concepts

i read up on a lot of things... but i still do not understand what is a light weight process!!
can someone help me out here??
thanks for all your help!!
c ya!!
__________________
simple is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing operating system RobertXYZ Building, Buying, Upgrading for General PCs 5 01-26-2008 01:49 PM
Copy entire operating system to portable hard drive? JB Rekit Windows Operating Systems and Software 11 12-21-2007 12:46 PM
seagate 80gigs failing.. acuariano Hardware Troubleshooting 27 08-27-2007 09:43 PM
Operating System not found on bootup rogue152 Windows Operating Systems and Software 4 08-08-2007 04:45 AM
AMD Athlon™ 64 X2 Dual Core Processor Utilities & Updates Osiris Overclocking, Case Mod, Tweaking PC Performance 6 05-31-2007 12:41 PM


All times are GMT -5. The time now is 02:18 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0