aboutsummaryrefslogtreecommitdiff
path: root/core/thread
Commit message (Collapse)AuthorAgeFilesLines
* wasi: make the demo run on wasi and run it in CILaytan Laats2024-06-295-48/+56
|
* Call `pthread_cancel` on Darwin, with advisory commentFeoramund2024-06-281-14/+17
|
* core/thread: fix a deadlock situation on unixLaytan Laats2024-06-071-11/+12
|
* Set thread pool `is_running` to false on shutdownFeoramund2024-06-021-0/+1
|
* Clear thread pool task data on restartFeoramund2024-06-021-0/+2
|
* Add task-stopping functionality to `thread.Pool`Feoramund2024-06-021-15/+115
|
* Merge pull request #3439 from andreas-jonsson/netbsdgingerBill2024-05-151-5/+5
|\ | | | | NetBSD support
| * Merge branch 'master' into netbsdAndreas T Jonsson2024-05-101-2/+2
| |\
| * | Fixed concurrency issueAndreas T Jonsson2024-04-181-2/+2
| | | | | | | | | | | | Fixed broken thread policy causing deadlocks.
| * | Updated core lib and did cleanupAndreas T Jonsson2024-04-181-2/+2
| | | | | | | | | | | | | | | Updated core with some path related functions and did some minor code cleanup. Most of the standard library function is just a matter of copy what is there for the other BSDs.
| * | Initial commit of NetBSD portAndreas T Jonsson2024-04-161-1/+1
| | |
* | | Fix hanging on `thread.join` for windows where the thread had not been `start`edgingerBill2024-05-131-1/+2
| | |
* | | Fix joining non-`Started` threads from blocking main threadFeoramund2024-05-102-2/+19
| |/ |/|
* | Fix discrepancy with pthread cancelability stateFeoramund2024-04-221-2/+2
|/
* Add `#no_broadcast` procedure parameter to disallow automatic array ↵gingerBill2024-03-211-1/+1
| | | | programming broadcasting on procedure arguments
* 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
|