v/vlib/sync
Delyan Angelov dd835acb8d
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
..
bench parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
pool sync,strings,cgen: reduce memory consumption in cgen 2021-10-29 22:29:56 +03:00
stdatomic sync: move sync.atomic2 to sync.stdatomic, cleanup 2021-12-28 10:16:22 +02:00
threads v.builder: remove default link flags -lm, -ldl, -lpthread (use module specific link flags instead) (#10099) 2021-05-14 14:28:53 +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 all: implement error interfaces (#9291) 2021-03-13 18:13:50 +01: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 scanner: no longer allow `1.` float literals (#11301) 2021-08-25 14:39:37 +03:00
channel_select_2_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +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 ci: add a small delay between failed test retries. bump retries for channel_select_6_test.v to 8 2022-01-27 17:43:55 +02:00
channel_select_test.v time: use `Duration(C.INT64_MAX)` as infinite (#10539) 2021-06-22 12:17:44 +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 sync: move sync.atomic2 to sync.stdatomic, cleanup 2021-12-28 10:16:22 +02: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 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
select_close_test.v tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +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 all: update copyright year 2022-01-04 12:21:12 +03:00
sync_default.c.v all: update copyright year 2022-01-04 12:21:12 +03:00
sync_windows.c.v all: update copyright year 2022-01-04 12:21:12 +03:00
waitgroup.c.v sync: improve compatibility with -Wimpure-v 2021-12-01 11:24:51 +02: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.