aboutsummaryrefslogtreecommitdiff
path: root/core/thread/thread_pool.odin
Commit message (Collapse)AuthorAgeFilesLines
* use ^Thread instead of index in init and finiWassim Alhajomar2026-01-141-4/+4
|
* cleanupWassim Alhajomar2026-01-121-1/+32
|
* Change Odin's LICENSE to zlib from BSD 3-clausegingerBill2025-10-281-1/+1
| | | | This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
* fix: make pool_finish not hang when pool_start is not calledBruno Panuto2025-06-161-0/+14
|
* Use a proper Queue in thread.PoolWaqar Ahmed2024-11-301-8/+9
| | | | | With lots of tasks the dynamic array takes a big performance hit as its allocating all the time on pop_front
* Fix data race when `pool_stop_task` is calledFeoramund2024-09-091-0/+1
|
* Fix thread sanitizer errors surfaced by tests/core/iopkova2024-09-031-2/+3
|
* Fix use-after-free in `thread.Pool`Feoramund2024-08-261-2/+6
|
* 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
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-1/+1
|
* Replace `x in &y` Use `&v in y` syntax through core & vendor for ↵gingerBill2023-06-261-1/+1
| | | | `switch`/`for` statements
* 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
|
* 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
* Replace `sync` with `sync2`gingerBill2022-03-301-11/+6
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-311-49/+49
|
* Enforce `core:builtin` and `core:intrinsics` for importsgingerBill2021-08-211-1/+1
|
* Revert *nix thread stuff to old syncgingerBill2021-04-131-7/+12
| | | | (I was just testing)
* Default to pthreads in sync2 for *nixgingerBill2021-04-131-12/+7
|
* Add `raw_data` to replace cases in which `&x[0]` was usedgingerBill2020-06-291-2/+1
|
* Fixed thread_pool not destroying threadsjharler2020-05-111-0/+5
|
* Add `thread.Pool` with example in demo.odin; Update linalg to support ↵gingerBill2020-01-021-0/+147
handness changes for projection matrices