aboutsummaryrefslogtreecommitdiff
path: root/src/threading.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* add freebsd supportColin Davidson2022-12-291-0/+31
* fix ulock/uwait importsColin Davidson2022-12-281-2/+2
* fix buildColin Davidson2022-12-281-1/+1
* move to work-stealing threadpoolColin Davidson2022-12-281-51/+148
* Combine join and destroy for threadsgingerBill2022-12-201-8/+2
* Remove need for `semaphore` in `Thread`gingerBill2022-12-201-27/+14
* Remove dead code in the compilergingerBill2022-12-181-42/+8
* `gb_internal` a lotgingerBill2022-12-181-96/+96
* initial OpenBSD supportSébastien Marie2022-02-251-1/+1
* Use more `{}` ctorgingerBill2022-01-101-2/+2
* Add mutex guards for signature scopesgingerBill2022-01-101-0/+34
* src: Add preliminary support for Linux AArch64Yawning Angel2021-12-231-0/+4
* Make `thread_join` be more correctgingerBill2021-08-261-4/+5
* Wrap linux specific code for `internal_thread_proc`gingerBill2021-08-261-2/+4
* Add missing headergingerBill2021-08-261-0/+4
* Don't permit any signal delivery to threads on LinuxgingerBill2021-08-261-1/+6
* Unify thread pool logic across the rest of the compiler, using a global threa...gingerBill2021-08-261-0/+40
* Fix typogingerBill2021-08-261-2/+2
* Improved `ThreadPool` implementationgingerBill2021-08-261-1/+59
* Correct atomic usagegingerBill2021-08-191-11/+11
* Migrate and remove more from gb.hgingerBill2021-08-191-0/+348