summaryrefslogtreecommitdiffstats
path: root/src/tests/threads/priority-donate-sema.ck
blob: 92b8d07d7b4fdfa38defe8790873711ffa4b4a04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -*- perl -*-
use strict;
use warnings;
use tests::tests;
check_expected ([<<'EOF']);
(priority-donate-sema) begin
(priority-donate-sema) Thread L acquired lock.
(priority-donate-sema) Thread L downed semaphore.
(priority-donate-sema) Thread H acquired lock.
(priority-donate-sema) Thread H finished.
(priority-donate-sema) Thread M finished.
(priority-donate-sema) Thread L finished.
(priority-donate-sema) Main thread finished.
(priority-donate-sema) end
EOF
pass;