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