aboutsummaryrefslogtreecommitdiff
path: root/src/threading.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Remove unneeded mutexgingerBill2023-01-021-8/+9
| |
* | Minor style changegingerBill2023-01-021-4/+0
| |
* | Replace condition+mutex with futexgingerBill2023-01-021-1/+3
| |
* | Remove the synchronization primitive init/destroy callsgingerBill2023-01-011-34/+1
| |
* | Get around the std::atomic issuegingerBill2023-01-011-72/+88
| |
* | Begin work on futex-ifying the threading primitivesgingerBill2023-01-011-39/+133
| |
* | Unify compiler `Futex` interfacegingerBill2023-01-011-26/+17
|/
* rework openbsd futexes a littleColin Davidson2022-12-291-6/+13
|
* cover openbsd tooColin Davidson2022-12-291-0/+34
|
* oops if->elifColin Davidson2022-12-291-1/+1
|