1 Testing nested priority donation.
2 If the statements printed below are all true, you pass.
3 Low thread should have priority 30. Actual priority: 30.
4 Low thread should have priority 31. Actual priority: 31.
5 Medium thread should have priority 31. Actual priority: 31.
6 Medium thread got the lock.
7 High thread got the lock.
9 High thread should have just finished.
10 Middle thread finished.
11 Medium thread should just have finished.
12 Low thread should have priority 29. Actual priority: 29.
13 Nested priority priority donation test finished.