Machine-translated by Google. Questions are authored in English.
Top

Discussion

A thread is a light weight process. In the above statement, weight refers to

  • A.time
  • B.number of resources
  • C.speed
  • D.All the above

Answer: B

A thread is called a light weight process because it needs fewer resources than a full process. Threads of a process share the code, data and open files, and only the registers and the stack are private to each, so creating and switching them is cheaper. The weight in the statement therefore refers to the number of resources. Time and speed are results of this and not what weight means. The keyed answer is the number of resources.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.