Home > Back-end > Semaphore set don't quite understand is how to judge.
Semaphore set don't quite understand is how to judge.
Time:09-29
Swait (Si, ti, di); The judgement is first Si>=ti, Si=Si - di, or Si=Si - di, judge Si> again;=ti If it is the first, a total of only 5 units and system resources Swait,2,6 (5) can also be carried out smoothly?