Q)What is the function of the POSIX system call "pthread_join"? a)For synchronization among peer threads b)The main thread waits for a thread it has created c)A created thread waits for its parent thread d)A thread waits for a prompt from the user
Q)What is the function of the POSIX system call "pthread_join"?
a)For synchronization among peer threads
b)The main thread waits for a thread it has created
c)A created thread waits for its parent thread
d)A thread waits for a prompt from the user
Q)Three processes P1, P2 and P3 arrive at time=0 in order and have Process(execution time) as follows. P1(5), P2(8), P(3). Find the average waiting time for these processes if they are scheduled as First-Come-First-Served.(show me steps)
a)8
b)6
c)9
d)11.3
Q)Where is the middleware in the software layers of a computer system?
a)It is between the Hardware and the
b)It is over the Application Layer
c)It is between the Operating System and the Application Layer
d)It is below the Hardware
Step by step
Solved in 2 steps