Skip to main content
TyperLab
Beta
Home
Learn
Practice
Code Typing
Leaderboard
Progress
EN
RU
Go Typing Practice
Open course
Go / Concurrency / Mutex
Protected counter
1 / 1
—
CPM
—
Accuracy
0
Errors
00:00
Time
protected-counter.go
Start typing to begin
Help
A−
30
A+
Tab ⇥
Enter ↵
Start typing to begin
Start typing to begin mu.Lock() count++ lastID = id mu.Unlock()
1
m
u
.
L
o
c
k
(
)
2
c
o
u
n
t
+
+
3
l
a
s
t
I
D
=
i
d
4
m
u
.
U
n
l
o
c
k
(
)
Go
0 CPM
0 WPM
—
0 errors
00:00
0 / 41
Previous
1 / 1
Next exercise