v/vlib/sync
yuyi de136f6baf
checker: improve pub struct check (fix #14446) (#14777)
2022-06-19 17:42:22 +03:00
..
bench sync: use asserts in channel code only when `-d debug` is passed 2022-04-14 14:00:57 +03:00
pool all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
stdatomic checker: error if smaller signed == unsigned (#14078) 2022-04-25 12:09:25 +03:00
threads all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
README.md docs: adding skeleton README.md files for all vlib modules (#13034) 2022-01-05 18:06:08 +02:00
array_rlock_test.v tests: move rlock and shared array tests from `builtin` to `sync` 2021-03-18 19:51:11 +02:00
channel_1_test.v checker: handle builtin enum init correctly 2021-05-20 03:14:32 +03:00
channel_2_test.v tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +03:00
channel_3_test.v parser: enable module auto import (of `sync`) (#6271) 2020-08-31 10:44:39 +02:00
channel_4_test.v parser: enable module auto import (of `sync`) (#6271) 2020-08-31 10:44:39 +02:00
channel_array_mut_test.v tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +03:00
channel_close_test.v tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +03:00
channel_fill_test.v tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +03:00
channel_opt_propagate_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
channel_polling_test.v tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +03:00
channel_push_or_1_test.v tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +03:00
channel_push_or_2_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
channel_select_2_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
channel_select_3_test.v parser: don't require unary `>` prefix for `select` timeout (#10928) 2021-07-23 23:24:27 +03:00
channel_select_4_test.v tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +03:00
channel_select_5_test.v tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +03:00
channel_select_6_test.v tests: support for marking _test.v files with `// vtest flaky: true`, to reduce false positives from the CI 2022-04-30 13:30:02 +03:00
channel_select_test.v sync: only run channel_select_test.v when VTEST_RUN_FLAKY=1 2022-05-15 12:43:04 +03:00
channel_try_buf_test.v tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +03:00
channel_try_unbuf_test.v tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +03:00
channels.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
channels.js.v js,checker: fix some modules build for `v -b js self`, fix `or block` check in ast.CallExpr (#12231) 2021-10-19 12:11:54 +03:00
many_times.v sync: move sync.atomic2 to sync.stdatomic, cleanup 2021-12-28 10:16:22 +02:00
many_times_test.v sync: add sync.ManyTimes (#12729) 2021-12-05 19:44:25 +02:00
once.v sync: add Once.do_with_param/2 method in addition to the existing Once.do/1 (workaround the absence of closures on windows) 2022-02-08 17:15:28 +02:00
once_test.v sync.once: add Once (#12722) 2021-12-05 18:56:03 +02:00
once_with_param_test.v cgen: rewrite the closure implementation (#14223) 2022-04-30 09:32:46 +03:00
select_close_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
struct_chan_init_test.v cgen: auto initialize `chan` that are struct elements (#8541) 2021-02-04 00:07:20 +01:00
sync_darwin.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
sync_default.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
sync_windows.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
thread_default.c.v sync: document sync.thread_id() 2022-03-23 19:52:20 +02:00
thread_test.v sync: add `sync.thread_id() u64 {` (#13810) 2022-03-23 19:19:14 +03:00
thread_windows.c.v sync: add `sync.thread_id() u64 {` (#13810) 2022-03-23 19:19:14 +03:00
waitgroup.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
waitgroup_test.v sync: only release semaphore in WaitGroup when there are waiters (#10967) 2021-07-27 15:49:51 +03:00

README.md

Description:

sync provides cross platform handling of concurrency primitives.