Commit graph

19 commits

Author SHA1 Message Date
kbkpbot
06c6554480
sync: add SpinLock (#24788) 2025-06-26 16:34:00 +03:00
kbkpbot
a9f4a942fb
sync.stdatomic: add atomic_thread_fence(), cpu_relax() (#24690) 2025-06-11 18:48:23 +03:00
kbkpbot
0c495d07d7
sync.stdatomic: fix bug with add() and sub() returning the new values, add voidptr support, add swap() and compare_and_swap() (#24685) 2025-06-10 09:05:11 +03:00
kbkpbot
ed7a8a34f1
sync.stdatomic: add atomic types (#24561) 2025-05-25 13:10:08 +03:00
kbkpbot
09592349f0
thirdparty: add aarch64 atomics support in thirdparty/stdatomic/nix/atomic.h (fix #24294) (#24296) 2025-04-25 06:28:16 +03:00
Delyan Angelov
776e7ad0b1
sync,os,thirdparty: fix cross compilation from macos to windows (#21484) 2024-05-10 22:04:52 +03:00
Delyan Angelov
413da8be62
ci: fix misc-tooling, V self compilation with g++ and -std=c++11 2023-09-30 20:16:26 +03:00
Delyan Angelov
2c78078814
cleanup: fix old usages of os.write_file/2? to os.write_file/2! 2023-01-18 12:28:10 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
Delyan Angelov
dd1049f21d
thirdparty: fix typo in atomic.h, cleanup comments. 2022-05-20 14:21:31 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
Delyan Angelov
fa6f7d4c83
os: add os.quoted_path/1, use it consistently for running V itself 2022-01-22 21:13:28 +02:00
crthpl
85b58b03a3
cgen: parallelize (#10844) 2021-09-28 10:28:04 +03:00
spaceface
73352583e7
ci: fix all -cstrict warnings with gcc and clang (#9792) 2021-04-19 15:38:48 +03:00
ka-weihe
25a9d30a70
channels: fix C warnings (#9732) 2021-04-15 01:44:39 +02:00
Delyan Angelov
10de905376
ci: fix thirdparty/stdatomic/win/atomic.h (now __faststorefence is part of tcc's std headers) 2021-02-18 19:49:04 +02:00
Uwe Krüger
d63daa0798
sync: use mfence on windows-tcc (#6079) 2020-08-06 17:31:05 +02:00
Uwe Krüger
863cf8af60
sync: channel implementation (#6074) 2020-08-06 15:28:19 +02:00
Tomas Hellström
def99bed02
sync: atomic counters 2020-06-26 20:04:17 +02:00