We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
shared
1 parent f842273 commit 3ac63ccCopy full SHA for 3ac63cc
vlib/v/fmt/tests/go_stmt_expected.vv
@@ -7,8 +7,8 @@ fn my_thread_with_params(s string) {
7
}
8
9
fn my_fn_calling_threads() {
10
- spawn my_thread()
11
- spawn my_thread_with_params('yay')
+ go my_thread()
+ go my_thread_with_params('yay')
12
13
- spawn my_thread_with_params('nono')
+ go my_thread_with_params('nono')
14
vlib/v/fmt/tests/shared_input.vv
@@ -58,7 +58,7 @@ a: 5
58
a: read_threads
59
60
for _ in 0.. read_threads {
61
- go x.f(shared z)
+ spawn x.f(shared z)
62
63
for i in 0..writes {
64
lock x { // wait for ongoing reads to finish, don't start new ones
0 commit comments