The Answer Archive
Providing students and professionals with answers to their toughest software, technology, math, and science problems. Browse the Archive!
Search Questions and Answers:

Show only unanswered questions

java

Posted by admin on 25 Sep 2008 at 10:41 PM
$5.00

Programming Languages / Java

What is the difference between process and threads?

Your Answer or Comment:


Proposed Answers and Comments (oldest first)

In the event of multiple correct answers, you should accept the answer of the first user who provided a complete and valid answer to your question.

Proposed answer by raptorGT on 21 Sep 2009 at 03:46 AM

Think of it this way, you have 10 cats running around your apartment and don't appreciate the mess they're making so you buy 10 cages. In a proper computing environment these can be thought of as "sandboxes", but for this instance's sake, we'll use them strictly as memory spaces. Each cat has its own memory space where it can live and play. The actions of "playing with yarn", "coughing up a hairball", and "cleaning" are basically threads. When you open Microsoft Word, the functions of "Spell Check", "Load Clip Art", and "Search and Replace" are threads that run inside the process called "WinWord.exe"

Ask a Question
Most Recent Questions
Most Recent Answers
Home Page

Login
Register

Information Technology
Software, Hardware, Design

Programming Languages
- ASP and ASP.NET
- Assembly and Machine Lang
- C and C++
- C#
- Carbon (Macintosh)
- Cold Fusion
- Delphi
- Flash
- FoxPro
- HTML and XHTML
- Java
- Javascript and JScript
- JSP
- Perl
- PHP
- Python
- Ruby on Rails
- VB, VBA, and VB.NET
- VBScript
- XML and XSL
Database
Graphic Design
Operating Platforms
Hardware and Networking

Math and Science
Homework Help

Biology and Geology
Math and Statistics
Chemistry
Physics
Engineering

Are you an information
technology or
math/science expert?

You can earn money by
providing answers to questions
at AnswerArchive.com.
Learn How

Browse Archive | Ask a Question | Most Recent Questions | Most Recent Answers | Home Page | Contact Us | Help
(c) 2008 The Answer Archive