This website requires JavaScript.
Explore
Help
Sign In
vieter-v
/
v
Watch
2
Star
0
Fork
You've already forked v
0
Code
Issues
Pull Requests
Releases
Activity
761ed28bb4
v
/
vlib
/
v
/
checker
/
tests
/
lock_nonshared.vv
15 lines
99 B
V
Raw
Blame
History
struct
St
{
mut
:
x
int
}
fn
main
(
)
{
mut
a
:=
&
St
{
x
:
5
}
lock
a
{
a
.
x
++
}
println
(
a
)
}
Reference in New Issue
View Git Blame
Copy Permalink