AceTheInterview
Jobs in Pune | Work better in teams | Socialize with friends | Submit Q&A | Tell a friend
Search site for 

Top 100 Interview Questions & Answers in a convenient and easy to read book!

“I bought this guide a few days ago to prepare for my interview with Oracle. Many of the questions they asked me were from this guide. I found this book absolutely great!”

– Ravi, California

Read more comments...

Interview Questions And Answers RSS Feed

Answers »

  1. Submitted By: amolh — October 6, 2006
    +1 votes
      + -

    A process runs in its own address space. No two processes share their address space.

    Threads will run in the same address space of the process that owns them. Threads belonging to the same process will run in the same address space. They will also share the process’s stack and heap. No two processes will share their stacks or their heaps.

    Anyone got any more core differences?

  2. Submitted By: johny_bravo — October 6, 2006
    not yet rated
      + -

    Context switching in threads is less expensive as compared to processes

  3. Submitted By: ldevi — October 6, 2006
    not yet rated
      + -

    Thread is a piece of execution i.e., a program

    Process is a combination of Threads.

  4. Submitted By: gbuntin — October 6, 2006
    not yet rated
      + -

    Threads also have local storage which is not shared by the other threatd in the process. This is known as Thread Local Storage (TLS).

    TLS does not need synchronisation mechanisms to be coded and is therefore far easier to use but it does tie object created on a particular thread to that thread for their entire duration.

    Visual Basic makes heavy use of TLS and this is the main reason that objects created from VB should not be used outside Single Thraded apartments.

  5. Leave an Answer/Comment

    To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
    Click to hear an audio file of the anti-spam word

Our Sponsors
Our Sponsors
Contact Us | FAQ | Sitemap | Terms of Use | Privacy Policy | Tell a Friend

Copyright © 1999-2006 Jeeve Technologies LLC. All rights reserved.