aboutsummaryrefslogtreecommitdiff
path: root/src/threading.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert `mutex_lock` logicbill/fix-data-races-2026-02gingerBill13 days1-3/+3
|
* Fix `mutex_lock`gingerBill13 days1-1/+1
|
* Use `compare_exchange_strong` `mutex_lock` on non-windows sytemsgingerBill13 days1-4/+4
|
* Fix hang, courtesy of cloin.Jeroen van Rijn2025-10-131-0/+1
|
* spin in recursive mutex lock; use compare exchange for broadcastLucas Perlind2025-09-241-2/+10
|
* Revert "Reimplement `RwMutex` on non-windows systems"Lucas Perlind2025-09-241-24/+8
| | | | This reverts commit e9d20a9b4a069815f76a23ce5f429862b155b2d6.
* Reimplement `RwMutex` on non-windows systemsgingerBill2025-09-231-8/+24
|
* Minimize more thread contentiongingerBill2025-09-101-5/+5
|
* Multithread min dep set by removing the set itselfgingerBill2025-09-101-0/+38
|
* Fix futex(8) usage on OpenBSD.Dave Voutila2025-03-111-3/+3
|
* riscv compiler supportLaytan2024-09-011-0/+3
|
* UL_COMPARE_AND_WAIT_SHARED is macOS 10.15+Laytan Laats2024-08-181-3/+27
|
* add workaround for kernel panics on MacOSLaytan Laats2024-07-151-8/+22
|
* Add the permanent and temporary arenas directly on the `Thread`gingerBill2024-07-151-2/+9
|
* Fix styling issuesgingerBill2024-07-141-6/+6
|
* move to isizeColin Davidson2024-07-141-4/+4
|
* move to a growing queueColin Davidson2024-07-131-10/+29
|
* Added arm64 support for NetBSDAndreas T Jonsson2024-06-051-0/+2
|
* Merge branch 'master' into netbsdAndreas T Jonsson2024-05-101-0/+2
|\
| * Minimally support compiling Odin on FreeBSD arm64Feoramund2024-05-051-0/+2
| | | | | | | | This is enough to get Odin itself compiling and the demo running.
* | Switched to native futex on NetBSDAndreas T Jonsson2024-04-251-4/+9
| |
* | Added thread nameAndreas T Jonsson2024-04-171-6/+4
| | | | | | | | Call pthread_setname_np with the correct number of arguments on NetBSD.
* | Initial commit of NetBSD portAndreas T Jonsson2024-04-161-3/+8
|/
* Merge pull request #3283 from laytan/darwin-new-wait-on-address-apigingerBill2024-03-271-0/+69
|\ | | | | darwin: use new wait on address API if possible
| * darwin: use new wait on address API if possibleLaytan Laats2024-03-151-0/+69
| |
* | Merge pull request #3326 from rick-masters/fix_fields_wait_signalgingerBill2024-03-251-1/+1
|\ \ | | | | | | Fix fields_wait_signal futex.
| * | Fix fields_wait_signal futex.rick-masters2024-03-241-1/+1
| |/
* / Potentially fix a race condition with parapoly types (related to #3328)gingerBill2024-03-251-2/+0
|/
* Update threading.cppavanspector2024-03-011-43/+102
|
* small fixesavanspector2024-02-251-1/+1
|
* Update threading.cppavanspector2024-02-251-0/+2
|
* Implement futexavanspector2024-02-241-33/+99
|
* Get Odin to compile on HaikuSlendi2024-02-151-1/+46
| | | | | | This patch makes Odin to compile on Haiku which is a good first step. Now, all that's needed to do is to figure out how to do futexes, which I am blaming for the program crashing.
* Fix typogingerBill2024-02-131-1/+1
|
* Fix race condition with #soagingerBill2024-02-131-0/+16
|
* Fix race condition with regards to #soa arrays by using the fields mutexgingerBill2024-02-131-0/+10
|
* fix loop condition on compare_exhange_strong result in semaphore_wait - it ↵Stan Irvin-Wilmot2024-01-101-1/+1
| | | | was backwards so would loop on success and bail on fail
* Return value of _umtx_op on FreeBSD wasn't checked correctlyPaco Pascal2023-11-181-1/+1
|
* Disable HAS_VALGRIND logic for `BlockingMutex` (fixes #2703)gingerBill2023-08-161-6/+6
|
* Minor changes to Semaphore to make it trivially copyablegingerBill2023-01-181-12/+17
|
* Update threading.cpp to have helgrind annotationsgingerBill2023-01-161-6/+43
|
* Merge branch 'master' into compiler-improvements-2023-01gingerBill2023-01-101-4/+4
|\
| * fix futex error handlingColin Davidson2023-01-051-0/+2
| |
* | Improve the `PtrSet` to be as simple and small as possiblegingerBill2023-01-041-10/+10
| |
* | Use `RwMutex` for the `Scope`gingerBill2023-01-031-0/+96
| |
* | General improves to `alloc_ast_node` and other unnecessary checksgingerBill2023-01-031-0/+1
| |
* | Remove loops within futex signals on LinuxgingerBill2023-01-021-16/+8
| |
* | Fix darwin's futex implementation in the compilergingerBill2023-01-021-24/+23
| |
* | Add define for darwingingerBill2023-01-021-0/+1
| |
* | Explicitly call `store` for futexgingerBill2023-01-021-2/+4
| |