Commit Graph

72 Commits

Author SHA1 Message Date
Colin Davidson
223b66f422 oops if->elif 2022-12-29 11:06:35 -08:00
Colin Davidson
04a4dbcdaf add freebsd support 2022-12-29 11:05:31 -08:00
Colin Davidson
ef9e31cb31 fix ulock/uwait imports 2022-12-28 22:08:39 -08:00
Colin Davidson
e019673a18 fix build 2022-12-28 21:52:41 -08:00
Colin Davidson
5f27f2dd7f move to work-stealing threadpool 2022-12-28 21:44:17 -08:00
gingerBill
134c7db4d2 Combine join and destroy for threads 2022-12-20 14:08:24 +00:00
gingerBill
a0e3a99dd1 Remove need for semaphore in Thread 2022-12-20 14:07:14 +00:00
gingerBill
c1f5be24e2 Remove dead code in the compiler 2022-12-18 22:49:10 +00:00
gingerBill
ac5f5a33e9 gb_internal a lot 2022-12-18 21:17:07 +00:00
Sébastien Marie
5676c9e7eb initial OpenBSD support 2022-02-25 08:49:25 +00:00
gingerBill
32ec1162bf Use more {} ctor 2022-01-10 14:52:47 +00:00
gingerBill
7cc265e14c Add mutex guards for signature scopes 2022-01-10 14:50:28 +00:00
Yawning Angel
dce120258f src: Add preliminary support for Linux AArch64
Tested via `tests/core`, on a Raspberry Pi 4 running the latest
64-bit Raspberry Pi OS image (LLVM 11).
2021-12-23 02:46:32 +00:00
gingerBill
2f34f1283a Make thread_join be more correct 2021-08-26 22:42:56 +01:00
gingerBill
4625b25287 Wrap linux specific code for internal_thread_proc 2021-08-26 22:26:51 +01:00
gingerBill
8d8b3fd071 Add missing header 2021-08-26 22:24:26 +01:00
gingerBill
a852c17614 Don't permit any signal delivery to threads on Linux 2021-08-26 22:20:10 +01:00
gingerBill
ad3a3547d6 Unify thread pool logic across the rest of the compiler, using a global thread pool 2021-08-26 21:22:30 +01:00
gingerBill
aba14c43ac Fix typo 2021-08-26 17:57:29 +01:00
gingerBill
25c3fd48f0 Improved ThreadPool implementation 2021-08-26 17:56:28 +01:00
gingerBill
fa4f3aa7ad Correct atomic usage 2021-08-19 17:51:19 +01:00
gingerBill
df372dbd5b Migrate and remove more from gb.h 2021-08-19 15:38:21 +01:00