aboutsummaryrefslogtreecommitdiff
path: root/core/thread
Commit message (Collapse)AuthorAgeFilesLines
* fix core:thread and a memory leakavanspector2024-02-271-4/+9
| | | | in the future probably native non-pthread implementation for haiku will be required
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-285-6/+6
|
* stdcall -> systemgingerBill2024-01-171-1/+1
|
* Allow larger thread poly dataLaytan Laats2023-11-151-38/+55
| | | | | | | | The poly data currently has the restriction of being less than a pointer's size, but there is much more space in the `Thread.user_args` array which can be utilized, this commit allows you to pass types that are larger than pointer length as long as the total size of the poly data is less than that of the `Thread.user_args`.
* [core]: Remove `do` keyword from the core libraryflysand72023-11-111-6/+18
|
* Require parentheses for `#align(N)`gingerBill2023-08-151-1/+1
|
* Clean up usage of `using` throughout core and vendorgingerBill2023-07-311-2/+2
|
* Replace `x in &y` Use `&v in y` syntax through core & vendor for ↵gingerBill2023-06-261-1/+1
| | | | `switch`/`for` statements
* [core:thread] Seeing if this fixes network testshikari2023-06-074-34/+17
|
* [core:thread] Fix compilationhikari2023-06-072-0/+4
|
* [core:thread] Added `self_cleanup` flag to properly auto-clean threadshikari2023-06-073-99/+38
|
* [thread] Refactor handling of 'init_context' + add doc comments for itTetralux2023-06-033-22/+88
|
* Remove `thread.init_context = context`gingerBill2023-05-311-1/+0
|
* Changed js panics to unimplemented where sensibleDragos Popescu2023-03-221-8/+8
|
* Fixed more compile time errors when including os and thread to js targetsDragos Popescu2023-03-211-1/+1
|
* Made most libraries panic on js targets instead of not compilingDragos Popescu2023-03-201-0/+55
|
* Revert.Jeroen van Rijn2022-05-141-6/+7
|
* pool_join should look at .Done.Jeroen van Rijn2022-05-141-8/+5
|
* Fix fix.Jeroen van Rijn2022-05-131-3/+3
|
* Do a bit less work for pool_join.Jeroen van Rijn2022-05-131-1/+5
|
* Fix thread pool join.Jeroen van Rijn2022-05-131-2/+10
|
* Disable thread.terminate on Darwin for now.Jeroen van Rijn2022-05-111-7/+14
|
* Implement pthread_cancel.Jeroen van Rijn2022-05-111-1/+10
|
* Fix join on *nix.Jeroen van Rijn2022-05-111-5/+14
|
* Fix join_multiple typoThimilius2022-05-111-1/+1
|
* reorder procedure parameters to make sure the optional argument in ↵Florian Behr2022-04-251-2/+2
| | | | pool_add_task() is last, and the argument order is consistent with pool_init()
* fix doc comment for pool_initFlorian Behr2022-04-251-1/+1
|
* Make allocator in pool_add_task() explicitFlorian Behr2022-04-251-3/+2
|
* Update Thread Pool in `core:thread`gingerBill2022-03-311-76/+148
| | | | Thanks to the work of eisbehr
* Clean up thread_windows.odingingerBill2022-03-311-12/+29
|
* Replace `sync` with `sync2`gingerBill2022-03-303-13/+8
|
* can use sync.guard hereDale Weiler2022-03-111-2/+1
|
* formattingDale Weiler2022-03-111-2/+2
|
* fix for mac & use atomic store on write side to avoid raceDale Weiler2022-03-111-2/+2
|
* fix for spurious wakeupsDale Weiler2022-03-111-1/+1
|
* fix thread data racesDale Weiler2022-03-111-80/+40
|
* initial OpenBSD supportSébastien Marie2022-02-251-1/+1
|
* Fix mutex and conditions trying to be destroyed twice in unixpowerc90002022-01-271-2/+0
|
* Move thread initialization variables in thread_unix.odingingerBill2021-10-261-2/+6
|
* Add `id` to `thread.Thread`gingerBill2021-10-243-2/+5
|
* Add `thread.create_and_start_with_*` proceduresgingerBill2021-10-111-0/+107
|
* Strip semicolons in core which were missinggingerBill2021-09-081-55/+55
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-311-1/+1
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-313-182/+182
|
* Enforce `core:builtin` and `core:intrinsics` for importsgingerBill2021-08-212-2/+2
|
* Make `or_else` and `or_return` operators (binary and suffix respectively)gingerBill2021-08-152-2/+2
|
* Fix `thread_unix.odin`gingerBill2021-07-051-0/+1
|
* Use `or_else` in the core library when it makes sensegingerBill2021-07-052-13/+2
|
* Revert *nix thread stuff to old syncgingerBill2021-04-132-11/+23
| | | | (I was just testing)
* Default to pthreads in sync2 for *nixgingerBill2021-04-133-16/+10
|