In: Computer Science
please answer each question in details with each answer being highlighted thank you
Process |
Burst time |
Priority |
P1 |
10 |
3 |
P2 |
1 |
1 |
P3 |
2 |
3 |
P4 |
1 |
4 |
P5 |
5 |
2 |
The processes are assumed to have arrived in the order, all in time 0.
Time |
0 |
|||||||||
CPU |
||||||||||
Ready queue |
Time |
0 |
|||||||||
CPU |
||||||||||
Ready queue |
Time |
0 |
|||||||||
CPU |
||||||||||
Ready queue |
Time |
0 |
|||||||||
CPU |
||||||||||
Ready queue |
void main(){
if(fork()){
fork();
}
fork();
exit();
}
How many child processes are created upon the execution of this program?
solved the complete question but i dont able to upload multiple images,
No. Of child process created is 5
User level thread implemented by user or programmer while kernel thread created by Os.
Os cant recognize user thread but can kelnel thread
User level thread are dependent thread but kernel thread are independent
User level thread implementation is easy but kernel thread not.
User level thread having less context but level thread having high context.