954,506 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

process and thread

can any one suggest some difference regards threading and processing

sinu
Newbie Poster
2 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

do you mean threads and processes ???

nanosani
Unauthenticated Liar
Team Colleague
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
 

yes i van to know the procesesss creation and thread creation its management and all if u can thanks for ur reply

sinu
Newbie Poster
2 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

threads are lightweight processes(consuming much less resources than the heavyweight processes) which are created by some process.

nanosani
Unauthenticated Liar
Team Colleague
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
 

A process can contain multiple threads. In most multithreading operating systems, a process gets its own memory address space; a thread doesn't. Threads typically share the heap belonging to their parent process. For instance, a JVM runs in a single process in the host O/S. Threads in the JVM share the heap belonging to that process; that's why several threads may access the same object. Typically, even though they share a common heap, threads have their own stack space.

Lamer980
Newbie Poster
3 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You