What is difference between thread and process?


 Ans) Differences between threads and processes are:-
1. Threads share the address space of the process that  created it; processes have their own address.
2. Threads have direct access to the data segment of its process; processes have their own copy of the data segment of the parent process.
3. Threads can directly communicate with other threads of its process; processes must use interprocess communication to communicate with sibling processes.
4. Threads have almost no overhead; processes have considerable overhead.
5. New threads are easily created; new processes require duplication of the parent process.
6. Threads can exercise considerable control over threads of the same process; processes can only exercise control over child processes.
7. Changes to the main thread (cancellation, priority change, etc.) may affect the behavior of the other threads of the process; changes to the parent process do not affect child processes. 

People who read this post also read :



9 comments:

Great! By the way, I was having some issues with my microsoft erp today at work, but luckily dynamics 365 support team took care of them immidiately. Well done!

Thank you for taking the time and sharing this information with us. It was indeed very helpful and insightful while being straight forward and to the point.
Selenium training in Chennai
Selenium training in Bangalore
Selenium training in Pune
Selenium Online training

Just stumbled across your blog and was instantly amazed with all the useful information that is on it. Great post, just what i was looking for and i am looking forward to reading your other posts soon!
python Training in Pune
python Training in Chennai
python Training in Bangalore

Really very happy to say, your post is very interesting to read. I never stop myself to say something about it. You’re doing a great job. Keep it up…

Get Web Methods Training in Bangalore from Real Time Industry Experts with 100% Placement Assistance in MNC Companies. Book your Free Demo with Softgen Infotech.

Did you hear there is a 12 word phrase you can say to your partner... that will induce intense emotions of love and impulsive attraction to you buried inside his chest?

Because deep inside these 12 words is a "secret signal" that triggers a man's instinct to love, admire and protect you with his entire heart...

12 Words Who Fuel A Man's Love Response

This instinct is so hardwired into a man's brain that it will make him try better than before to make your relationship as strong as it can be.

Matter-of-fact, triggering this mighty instinct is so mandatory to achieving the best ever relationship with your man that once you send your man a "Secret Signal"...

...You'll immediately find him open his mind and soul to you in a way he's never expressed before and he'll distinguish you as the only woman in the world who has ever truly interested him.

Your Affiliate Money Printing Machine is ready -

Plus, making profit with it is as easy as 1, 2, 3!

Here is how it works...

STEP 1. Choose which affiliate products you want to promote
STEP 2. Add some PUSH BUTTON TRAFFIC (it LITERALLY takes JUST 2 minutes)
STEP 3. See how the system grow your list and upsell your affiliate products all for you!

Do you want to start making profits?

Click here to start running the system

Your Affiliate Profit Machine is ready -

And earning money online using it is as simple as 1---2---3!

Here are the steps to make it work...

STEP 1. Input into the system which affiliate products you want to push
STEP 2. Add PUSH BUTTON TRAFFIC (it LITERALLY takes JUST 2 minutes)
STEP 3. See how the affiliate system explode your list and sell your affiliate products all on it's own!

Are you ready to make money ONLINE?

Click here to make money with the system

Pressure Wash CO is a Professional Pressure Washing Company based on Gold Coast and its suburbs. We provide different types of services based on Commercial and Residential Services. We do Pressure Cleaning Gold Coast.

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More