1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

move the parent process to the end of the queue

=> child would be scheduled next
=> reduce the latency
This commit is contained in:
Stefan Lankes 2016-08-22 09:01:59 +02:00
parent 8f82131f94
commit 0291e2999f

View file

@ -187,6 +187,10 @@ static int init_qemu(char *path)
exit(1);
}
// move the parent process to the end of the queue
// => child would be scheduled next
sched_yield();
return 0;
}