The Gateway to Computer Science Excellence
0 votes
88 views
Which of the following is not a reason to create threads?

A)To achieve true CPU concurrency

B)Creating a new process is costly

C)Communication between processes must go through operating system

D)The process as a whole gets one time slice irrespective of the no of threads it has
in Operating System by Boss (17.1k points) | 88 views
0
D?
0
yes i was confuse between B and D ,

what is exactly saying in Option D can you explain ?
+1
It should be D as we dont create threads beacuse we want that threads should gte time slice independent of the time slice of the process.. No of threads dont have a relation with the time slice..
+3
Slicing is used for process scheduling irrespective of threads.
0
what about A)?
0
A is correct , as concurrency implies  throughput
0

The process as a whole gets one time slice irrespective of the no of threads it has

This statement is true but is not a reason to create threads. Hence option D is correct

0
option D is correct, It is the drawback of user-level threads..

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,321 answers
198,400 comments
105,154 users