implement this fix for semaphores, condition variables or joins.
However, you do need to implement priority scheduling in all cases.
+You may assume a static priority for priority donation, that is, it is
+not necessary to ``re-donate'' a thread's priority if it changes
+(although you are free to do so).
+
@node Problem 1-4 Advanced Scheduler
@section Problem 1-4: Advanced Scheduler
at least one workload of your own design (i.e.@: in addition to the
provided test).
-You may assume a static priority for this problem. It is not necessary
-to ``re-donate'' a thread's priority if it changes (although you are
-free to do so).
-
You must write your code so that we can turn the MLFQS on and off at
compile time. By default, it must be off, but we must be able to turn
it on by inserting the line @code{#define MLFQS 1} in