Source file
src/runtime/lockrank_off.go
1
2
3
4
5
6
7 package runtime
8
9
10
11 type lockRankStruct struct {
12 }
13
14 func lockInit(l *mutex, rank lockRank) {
15 }
16
17 func getLockRank(l *mutex) lockRank {
18 return 0
19 }
20
21 func lockWithRank(l *mutex, rank lockRank) {
22 lock2(l)
23 }
24
25
26
27 func acquireLockRank(rank lockRank) {
28 }
29
30 func unlockWithRank(l *mutex) {
31 unlock2(l)
32 }
33
34
35
36 func releaseLockRank(rank lockRank) {
37 }
38
39 func lockWithRankMayAcquire(l *mutex, rank lockRank) {
40 }
41
42
43 func assertLockHeld(l *mutex) {
44 }
45
46
47 func assertRankHeld(r lockRank) {
48 }
49
50
51 func worldStopped() {
52 }
53
54
55 func worldStarted() {
56 }
57
58
59 func assertWorldStopped() {
60 }
61
62
63 func assertWorldStoppedOrLockHeld(l *mutex) {
64 }
65
View as plain text