CS代考计算机代写 # -*- perl -*-

# -*- perl -*-
use strict;
use warnings;
use tests::tests;
check_expected ([<<'EOF']); (priority-donate-one) begin (priority-donate-one) This thread should have priority 32. Actual priority: 32. (priority-donate-one) This thread should have priority 33. Actual priority: 33. (priority-donate-one) acquire2: got the lock (priority-donate-one) acquire2: done (priority-donate-one) acquire1: got the lock (priority-donate-one) acquire1: done (priority-donate-one) acquire2, acquire1 must already have finished, in that order. (priority-donate-one) This should be the last line before finishing this test. (priority-donate-one) end EOF pass;