Free Jobs

Java Forums: Core Java (15) J2EE (3) EJB (5) Servlet (3) JDBC (6) Hibernate (2) Struts (1) Swing (1) Oracle (7) JSP (4) Other (10)

Topic: what is the difference between a process and a thread

To get the Posted Questions details daily in your mail Click Here

Share this Post on Facebook/Twitter/Orkut Bookmark and Share

User: manishav3388 Post Date: 26 Jan 2011 00:38

Below is the difference between a proces and a thread

Main Content:

1.A process can have many threads but a thread cant have many process

2.Creation of new process needs new resources and Address space but
the thread can be created in the same address space of the process
3.Threads can directly communicate with other threads of its process;
processes must use inter-process communication to communicate with sibling processes

4.Operating system is aware of process it can see the processes. But operating system is NOT aware of thread do not see them.

Thus thread is a subset of a process

About Writer:
hello,I am JAVA Developer from Noida.

Writer's Link: http://

Writer's Email:

Post Comment

Similar Articles Top ArticlesLatest Articles Other Articles by this Author Copyright © 2009-2011 | All Rights Reserved
All content of this website is protected by copyright laws and should not be reproduced in any form or by any means without written permission
(Best viewed in IE 8.0+ or Firefox 3.0+ at resolution of 1024 * 768 or higher)