aboutsummaryrefslogtreecommitdiff
path: root/core/thread
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove thread stuff from sync2; Cleanup package threadgingerBill2021-04-113-79/+79
|
* Fix typogingerBill2020-11-301-3/+3
|
* Fix `thread.run_with_poly_data*`gingerBill2020-11-301-28/+42
|
* Fix sync.Channel code; add `thread.run_with_poly_data` and ↵gingerBill2020-11-103-11/+102
| | | | `run_with_poly_data(2|3|4)` procedures
* Update thread_windows.odinPatric Dexheimer2020-10-311-2/+2
|
* Update thread_windows.odinPatric Dexheimer2020-10-311-2/+2
| | | `n` was left over being always zero. But you want `win32.WaitForMultipleObjects` to be the number of threads to wait for which u already have with `j`.
* Remove usage of `do` in core librarygingerBill2020-09-231-3/+9
|
* Get Odin compiling and produced exe's running on FreeBSDChristian Seibold2020-09-141-1/+1
|
* Update package syncgingerBill2020-08-021-1/+1
|
* Add `-no-dynamic-literals` to disallow dynamic array and map literalsgingerBill2020-07-141-1/+1
|
* Add thread.join_multiplegingerBill2020-07-142-0/+32
|
* Add sync.OncegingerBill2020-07-141-0/+30
|
* Add `raw_data` to replace cases in which `&x[0]` was usedgingerBill2020-06-291-2/+1
|
* Update thread_unix logicgingerBill2020-06-271-6/+14
|
* Update `sys/unix`; Rename `thread.create_and_start`gingerBill2020-06-271-1/+2
|
* Update sys/windows; Add sync.Blocking_Mutex (windows only at the moment)gingerBill2020-06-271-1/+1
|
* Begin migration from sys/win32 to sys/windowsgingerBill2020-06-261-14/+14
|
* Remove unused imports in thread.odingingerBill2020-06-221-2/+0
|
* Fix sync and thread on *nixgingerBill2020-06-221-1/+5
|
* Add `thread.run*` shorthand procedures; `Thread.init_context` use new ↵gingerBill2020-06-223-22/+61
| | | | `Maybe` concept
* Add explicit context to thread_unix.odingingerBill2020-05-141-0/+2
|
* Enforce explicit context definition for procedure callsgingerBill2020-05-141-1/+1
|
* Fixed thread_pool not destroying threadsjharler2020-05-111-0/+5
|
* Merge pull request #617 from Tetralux/dep-yield-processorgingerBill2020-04-211-1/+2
|\ | | | | Rename `yield_processor` to `cpu_relax`
| * `sync.yield_processor` -> `sync.cpu_relax`; have it call `intrinsics.cpu_relax`Tetralux2020-04-211-1/+2
| |
* | Remove outdated commentTetralux2020-04-211-9/+0
|/ | | This is what I get for removing the ability to provide a stack at the last minute.... 🤣
* replaced pthread_yield with ssched_yield, fixed semaphore post:qKTRosenberg2020-01-021-1/+1
|
* Fix typogingerBill2020-01-021-1/+1
|