avanspector
|
fca691a066
fix core:thread and a memory leak
|
1 year ago |
gingerBill
|
3e7e779abf
Replace `core:*` to `base:*` where appropriate
|
1 year ago |
gingerBill
|
2cc22d118d
Require parentheses for `#align(N)`
|
2 years ago |
hikari
|
3b8515beb0
[core:thread] Seeing if this fixes network tests
|
2 years ago |
hikari
|
7b62b81ebd
[core:thread] Fix compilation
|
2 years ago |
hikari
|
dcf4e51787
[core:thread] Added `self_cleanup` flag to properly auto-clean threads
|
2 years ago |
Tetralux
|
5d6b923244
[thread] Refactor handling of 'init_context' + add doc comments for it
|
2 years ago |
Jeroen van Rijn
|
f4ad4c7aa6
Disable thread.terminate on Darwin for now.
|
3 years ago |
Jeroen van Rijn
|
8fb718245a
Implement pthread_cancel.
|
3 years ago |
Jeroen van Rijn
|
56e3b7cb7d
Fix join on *nix.
|
3 years ago |
gingerBill
|
4eb4ae6305
Replace `sync` with `sync2`
|
3 years ago |
Dale Weiler
|
3da8fa9b27
can use sync.guard here
|
3 years ago |
Dale Weiler
|
32ba5e7ad2
formatting
|
3 years ago |
Dale Weiler
|
52df80dccd
fix for mac & use atomic store on write side to avoid race
|
3 years ago |
Dale Weiler
|
7f845bb165
fix for spurious wakeups
|
3 years ago |
Dale Weiler
|
0e6de5673b
fix thread data races
|
3 years ago |
Sébastien Marie
|
5676c9e7eb
initial OpenBSD support
|
3 years ago |
powerc9000
|
2f3c5336d9
Fix mutex and conditions trying to be destroyed twice in unix
|
3 years ago |
gingerBill
|
d165de0d4d
Move thread initialization variables in thread_unix.odin
|
3 years ago |
gingerBill
|
c9e6862332
Add `id` to `thread.Thread`
|
3 years ago |
gingerBill
|
ca33cb990b
Strip semicolons in core which were missing
|
3 years ago |
gingerBill
|
21cbac755e
Make `or_else` and `or_return` operators (binary and suffix respectively)
|
4 years ago |
gingerBill
|
f7413ca974
Fix `thread_unix.odin`
|
4 years ago |
gingerBill
|
9b3a0251ca
Use `or_else` in the core library when it makes sense
|
4 years ago |
gingerBill
|
ebed29fc09
Revert *nix thread stuff to old sync
|
4 years ago |
gingerBill
|
1156bd9dd0
Remove thread stuff from sync2; Cleanup package thread
|
4 years ago |
gingerBill
|
95b94a0f56
Fix sync.Channel code; add `thread.run_with_poly_data` and `run_with_poly_data(2|3|4)` procedures
|
4 years ago |
gingerBill
|
fc4fdd588e
Remove usage of `do` in core library
|
4 years ago |
Christian Seibold
|
577be4a8ae
Get Odin compiling and produced exe's running on FreeBSD
|
4 years ago |
gingerBill
|
b2beb9512f
Add thread.join_multiple
|
5 years ago |