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