What is the difference between Process and Threads?
Answer Posted / surabhee
Firstly,a process can contain multiple threads.
In 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.
Even though they share a common heap, threads have their own stack space.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between session and entity beans?
Why won’t the jvm terminate when I close all the application windows?
Is jvm a overhead?
Have you used threads in Servelet?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
Define the remote object implementation?
Name three subclasses of the component class?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
what are memory considerations of jsp compares to other web components?
What is the difference between long.class and long.type?
What are the sequence of steps to write pub or sub model kind of application?
Explain phantom read?
whats is statement and procedure
How are commas used in the intialization and iteration parts of a for statement?
Can we sent objects using Sockets?