--%>

Resources employed when thread is created

What resources are employed when a thread created? How do they vary from those while a procedure is created?

E

Expert

Verified

While a thread is created the threads does not need any new resources to execute the thread shares the resources such as memory of the procedure to which they associate to. The benefit of code sharing is that it let an application to hold several different threads of activity all inside the same address space. While if a new process creation is very heavyweight since it always requires new address space to be make and even if they share the memory then the inter process communication is costly when compared to the communication among the threads.

   Related Questions in Science

  • Q : String within a given file Normal 0

    Normal 0 false false

  • Q : Describe the reasons for implementing

    Normal 0 false false

  • Q : Advantages of Monolithic Model

    Advantages of Monolithic Model: Undoubtedly Monolithic model has better application performance compared to Layered Model of data communication. In this modules are haphazardly organized with any module can give call to rest

  • Q : Differences among Shared and Dynamic

    Normal 0 false false

  • Q : How secure is WAP How secure is WAP ?

    How secure is WAP? One of the layers of the WAP stack, termed as WTLS, provides encryption & authentication for server-to-client security. It prevents fraudulent access to WAP transactions & opens the way f

  • Q : Explain Thread Preference Heuristic

    Thread Preference Heuristic: This is similar to the thread interleaving heuristic mentioned above except that it focuses on a few threads that may be suspected to harbor an error. To do this, it relies on the knowledge of what parts of the system are

  • Q : Evolving Role of Industrial Engineers

    Over the past 10-20 years the market for both goods and services has become increasingly global. This has had and will continue to have a significant impact on the function of industrial engineers within an organization.  <

  • Q : Search out the present directory Normal

    Normal 0 false false

  • Q : Define Semaphore Semaphore : It is a

    Semaphore: It is a software or hardware flag. In case of multitasking systems, a semaphore is a variable with a value which points out the status of a common resource. It is emp

  • Q : What are Useful Abstractions Useful

    Useful Abstractions: We discuss here several useful data abstractions for integer domains. Abstractions for other numeric domains can be defined similarly. A) A Range abstraction tracks concrete values between lowe