bkrypt
e80bee6867
Change order of O_CREATE & O_APPEND checks
2022-04-02 21:55:01 +02:00
gingerBill
d10d54710c
Merge pull request #1686 from Kelimion/compile-time-assert
...
Allow optional message for `#assert`.
2022-04-02 15:02:46 +01:00
gingerBill
1ec997461d
Add extra checks to atomic intrinsics
2022-04-02 15:00:28 +01:00
gingerBill
ec5fc10988
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-04-02 14:38:51 +01:00
gingerBill
a232c0888c
intrinsics.atomic_type_is_lock_free
2022-04-02 14:38:42 +01:00
Jeroen van Rijn
cb5a6b531a
Allow optional message for #assert.
2022-04-02 15:31:50 +02:00
Jeroen van Rijn
c930a3b4c8
Merge pull request #1685 from ftphikari/master
...
sys/windows: add a couple of procedures and types
2022-04-02 12:55:51 +02:00
hikari
4c14e92952
sys/windows: add several procedures and macros
2022-04-02 08:23:12 +03:00
hikari
850d4a1e1b
sys/windows: add a couple of procedures and types
2022-04-02 07:38:11 +03:00
Jeroen van Rijn
dc012ed6dd
Merge pull request #1682 from ftphikari/master
...
sys/windows: add intrinsics.constant_utf16_cstring
2022-04-02 03:27:58 +02:00
Jeroen van Rijn
c21c993646
[strings] fix.
2022-04-02 01:54:35 +02:00
gingerBill
c3a292a8c7
Remove hms2019 files
2022-04-02 00:36:26 +01:00
Jeroen van Rijn
4044a577cc
Merge pull request #1683 from Kelimion/big_nails
...
[math/big] Tell Python test runner how many nails we use.
2022-04-01 16:33:30 +02:00
Jeroen van Rijn
581d53b96b
[math/big] Tell Python test runner how many nails we use.
...
`_DIGIT_NAILS` is defined as 4, meaning that we use 60 out of every 64 bits.
We can use as few as 1 nail, using 63 bits out of every 64, and all tests will still pass.
However, it needs more testing to see if that's a worthwhile change to make.
For the tests to work properly when changing the nails, Python needs to know about it as well.
In addition, compile the big math code with `-o:speed` going forward.
2022-04-01 16:24:27 +02:00
gingerBill
2bc89260f1
Add explicit memory ordering for the internal Sema implementation
2022-04-01 15:08:58 +01:00
gingerBill
c78b83f142
Fix _Sema
2022-04-01 14:51:51 +01:00
hikari
e28525e28c
sys/windows: fix some procedure definitions and types
2022-04-01 07:28:18 +03:00
hikari
73f9d12d47
sys/windows: add various procedures
2022-04-01 06:22:27 +03:00
hikari
b21cf05d44
sys/windows: move L into util.odin
2022-04-01 02:25:10 +03:00
hikari
107bede9fd
sys/windows: fix building error
2022-04-01 02:23:44 +03:00
hikari
75cbb09744
sys/windows: add intrinsics.constant_utf16_cstring
2022-04-01 02:11:41 +03:00
Jeroen van Rijn
76cf667a29
Merge pull request #1681 from colrdavidson/fix-nightly
...
only install the right version of llvm
2022-03-31 22:47:37 +02:00
Colin Davidson
78ee97ec74
only install the right version of llvm
2022-03-31 13:40:28 -07:00
gingerBill
bfcd7a35bf
Merge pull request #1621 from colrdavidson/build_freebsd
...
Core out Makefile, add freebsd building
2022-03-31 16:25:37 +01:00
gingerBill
4484a3433d
Update mem.nil_allocator to match the same in runtime
2022-03-31 15:03:56 +01:00
gingerBill
0c4f905d82
Merge pull request #1673 from odin-lang/new-sync
...
Brand New `package sync` and Atomics Intrinsics
2022-03-31 14:06:00 +01:00
gingerBill
77de7ebde5
Remove code deduplication
2022-03-31 13:26:10 +01:00
gingerBill
2ec3fa93b4
Remove pthreads dependency
2022-03-31 13:10:15 +01:00
gingerBill
9f2d710c35
Change intrinsics.Atomic_Memory_Order fields to use Ada_Case rather than snake_case
2022-03-31 12:57:24 +01:00
gingerBill
22b961ea53
Update Thread Pool in core:thread
...
Thanks to the work of eisbehr
2022-03-31 11:55:46 +01:00
Jeroen van Rijn
9ea45d35db
[ease] Fix flux_stop.
2022-03-31 12:53:04 +02:00
gingerBill
06e8476efc
Correct ordering in auto_reset_event_signal
2022-03-31 10:55:18 +01:00
gingerBill
94dbac9a64
Disable thread pool in demo
2022-03-31 01:13:43 +01:00
gingerBill
97a183f412
Clean up thread_windows.odin
2022-03-31 01:13:29 +01:00
gingerBill
b2f5b73532
Rename package name to sync
2022-03-31 01:05:50 +01:00
gingerBill
1eac3482a6
Add checks for memory ordering on fences
2022-03-31 01:01:51 +01:00
gingerBill
6636376a81
Correct weak handling
2022-03-31 00:58:01 +01:00
gingerBill
ed6bf28004
Update the intrinsics for documentation on atomics
2022-03-31 00:53:34 +01:00
gingerBill
6bc0c611ab
Enforce success failure pairings of compare_exchange_*_explicit at compile time
2022-03-31 00:49:53 +01:00
gingerBill
ba1930eb01
Update core to use new atomic intrinsics
2022-03-31 00:22:54 +01:00
gingerBill
203382461b
Replace the atomic intrinsics
...
Matching C11 in style
2022-03-31 00:14:49 +01:00
gingerBill
4eb4ae6305
Replace sync with sync2
2022-03-30 17:42:44 +01:00
gingerBill
72ae061769
Add intrinsics.wasm_memory_grow intrinsics.wasm_memory_size
2022-03-30 17:29:37 +01:00
gingerBill
46161f7e19
threading_example allow on Darwin
2022-03-30 16:28:16 +01:00
gingerBill
0c55596f0f
Merge pull request #1612 from graphitemaster/fix_thread_data_races
...
fix thread data races
2022-03-30 16:26:37 +01:00
gingerBill
5f3bfa66c5
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-03-30 16:15:54 +01:00
gingerBill
561b725b0e
Improve spin lock for atomic_mutex_lock
2022-03-30 16:15:48 +01:00
gingerBill
3a4630e6b4
Correct atomic_cxchg_* atomic_cxchgweak_* intrinsics behaviour to monotonic on failure for acq, rel, and acqrel
2022-03-30 16:15:23 +01:00
gingerBill
abf0fd7efc
Merge pull request #1671 from colrdavidson/add_nocrt
...
Make no crt work on Linux
2022-03-30 12:58:12 +01:00
Colin Davidson
a632db3618
Make no crt work on Linux
2022-03-30 04:45:22 -07:00