Commit Graph

9966 Commits

Author SHA1 Message Date
gingerBill
df2767311f Use mutex_try_lock in check_proc_info 2023-01-02 20:42:22 +00:00
gingerBill
09c26e6be0 Narrow type info mutex usage 2023-01-02 20:38:37 +00:00
gingerBill
d2ec2d1606 Remove another use of a global mutex 2023-01-02 19:46:55 +00:00
gingerBill
0d87b2e8db Use local mutexes rather than a global one for the dependency insertion 2023-01-02 19:39:35 +00:00
gingerBill
1568971732 Fix pool running 2023-01-02 18:04:16 +00:00
gingerBill
0e040be941 Add define for darwin 2023-01-02 17:49:16 +00:00
gingerBill
9737b65d9c Explicitly call store for futex 2023-01-02 17:18:59 +00:00
gingerBill
ad52003077 Remove some unneeded checks 2023-01-02 17:15:29 +00:00
gingerBill
c386509112 Minor clean up of thread pool code 2023-01-02 17:06:29 +00:00
gingerBill
c293f5b7eb Remove unneeded mutex 2023-01-02 16:56:05 +00:00
gingerBill
fa562ec5d6 Remove unneeded local_entity_map 2023-01-02 15:40:25 +00:00
gingerBill
529383f5b1 Correct a race condition when checking the procedure body 2023-01-02 15:30:04 +00:00
gingerBill
f01cff7ff0 Multithread checker 2023-01-02 12:31:00 +00:00
gingerBill
015fe924b8 Remove use of queues for procedure checking. 2023-01-02 12:28:38 +00:00
gingerBill
a5ce8a8c0b Multi thread check_export_entities 2023-01-02 01:31:14 +00:00
gingerBill
bfdcf900ef Remove global_ prefix from global_thread_pool_* procedures 2023-01-02 00:56:06 +00:00
gingerBill
54f89dd84b Multithread check_collect_entities_all using new thread pool 2023-01-02 00:53:11 +00:00
gingerBill
da479c7628 Minor style change 2023-01-02 00:35:12 +00:00
gingerBill
3c90a05957 Replace condition+mutex with futex 2023-01-02 00:26:17 +00:00
gingerBill
d16ddf7926 Use C++ style for loop over for_array macro in parser.cpp where posible 2023-01-01 16:32:51 +00:00
gingerBill
5c519f0e8d Remove the synchronization primitive init/destroy calls 2023-01-01 16:19:21 +00:00
gingerBill
74e6d9144e Get around the std::atomic issue 2023-01-01 16:15:35 +00:00
gingerBill
20d451396d Begin work on futex-ifying the threading primitives 2023-01-01 15:06:57 +00:00
gingerBill
60d0390ef8 Unify compiler Futex interface 2023-01-01 14:48:31 +00:00
gingerBill
782f1b4718 Merge pull request #2278 from wjlroe/stb-darwin-universal-libraries
Universal stb libraries for macOS (Intel & Apple Silicon)
2023-01-01 14:10:35 +00:00
gingerBill
85f0a1067c Merge pull request #2280 from DragosPopse/master
Fixed empty output_path.name when building a folder with no subfolders
2023-01-01 14:09:51 +00:00
gingerBill
c08ff891ad Merge pull request #2287 from odin-lang/compiler-improvements-2022-12
Compiler improvements 2022 12
2023-01-01 13:29:20 +00:00
gingerBill
168cec1e9d Merge pull request #2283 from colrdavidson/threadpool-swap
move to work-stealing threadpool
2023-01-01 13:28:36 +00:00
gingerBill
28fb35f2f7 Merge pull request #2263 from odin-lang/compiler-improvements-2022-12
Compiler Improvements for 2022-12
2023-01-01 13:26:43 +00:00
gingerBill
c1384afe2f Merge branch 'master' into compiler-improvements-2022-12 2023-01-01 13:10:49 +00:00
gingerBill
547c7bce1b Merge pull request #2284 from thePHTest/master
fixup are_types_identical for comparing procs and checking if parameter names differ
2022-12-30 11:19:31 +00:00
Phil
0bb93d40d3 fixup are_types_identical for comparing procs and checking if parameter names differ 2022-12-29 16:10:13 -08:00
Colin Davidson
27ba1d596c rework openbsd futexes a little 2022-12-29 12:00:16 -08:00
Colin Davidson
98e5523f2f cover openbsd too 2022-12-29 11:46:43 -08:00
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
Dragos Popescu
cfccf73cdd Merge branch 'odin-lang:master' into master 2022-12-26 19:22:47 +02:00
Dragos
465d003b1e Patched empty output_path.name when building a folder 2022-12-26 19:21:24 +02:00
Mikkel Hjortshøj
1d6f7680a1 Update stale.yml
Update stale action to *not* delete issues/PRs anymore and only mark them as stale, also update the version
2022-12-24 15:44:32 +01:00
Skytrias
f36e19e86f fix GL2 2022-12-24 11:47:57 +01:00
Skytrias
86fada718e optional constants, starting GL2 fixes 2022-12-24 11:30:15 +01:00
Skytrias
2a94b66f4d test 2022-12-24 11:19:12 +01:00
Michael Kutowski
4ee413aa32 Merge branch 'odin-lang:master' into skytrias-vendor-additions 2022-12-24 10:39:01 +01:00
Jeroen van Rijn
5d0f9c428a Merge pull request #2279 from ftphikari/master
Replaced opaque bit-shifts with readable constants for memory units
2022-12-24 07:32:29 +01:00
hikari
d904ae5191 Replaced opaque bit-shifts with readable constants for memory units 2022-12-24 08:27:15 +02:00
William Roe
8a822bdd9a Update stb macOS libraries to be universal
This updates all the darwin stb libraries to be built as universal
libraries - meaning they contain both Intel and Apple Silicon versions.
This should make these more generally compatible.

Also, add stb_vorbis.a in the same way. Not sure why it was missing
before.
2022-12-23 23:15:14 +00:00
William Roe
d1a3842e39 Add Darwin-target for building vendor/stb macos universal libs
This Darwin-specific target builds each stb library with macOS-specific
options so that the results are universal static libraries that should
work on Intel (x86_64) and Apple Silicon (arm64) machines. They also
should work on macOS 10.12 and above (which should match what Odin
compiles for).

The default Makefile target will build the darwin rule if its invoked on
a macOS machine, otherwise it'll invoke the more general unix target.
2022-12-23 23:15:14 +00:00