aboutsummaryrefslogtreecommitdiff
path: root/core/sync
Commit message (Collapse)AuthorAgeFilesLines
* Fixup link formatZac Nowicki2023-07-111-1/+1
|
* Improve Mutex struct documentationZac Nowicki2023-07-091-3/+14
|
* Merge branch 'master' into separate-int-word-sizesgingerBill2023-06-062-5/+15
|\
| * Remove os dependency in primitives_openbsd.odingingerBill2023-05-251-2/+8
| |
| * Remove `os` dependency for futex_openbsd.odingingerBill2023-05-251-3/+7
| |
* | Begin work on new pseudo-architecture: wasm64p32gingerBill2023-04-202-2/+2
|/
* Add `#no_copy` to sync primitivesgingerBill2023-04-153-18/+18
|
* cleanup of os/linuxColin Davidson2023-02-281-1/+1
|
* Change to use `ODIN_VALGRIND_SUPPORT`gingerBill2023-01-232-18/+18
|
* Add helgrind markers to package syncgingerBill2023-01-232-0/+67
|
* Add different variants for `once_do`gingerBill2022-12-081-2/+59
|
* Make `sync` calls `contextless` where possiblegingerBill2022-12-0811-155/+171
|
* Use __ulock_wait macOS; fix #1959Jeroen van Rijn2022-09-041-3/+4
|
* Fix `RtlWaitOnAddress` behaviour with ↵gingerBill2022-08-171-2/+24
| | | | `SetLastError(RtlNtStatusToDosError(status))` if an error occurred
* Remove import cycle on FreeBSDgingerBill2022-07-182-14/+16
|
* Begin to add support for experimental wasm64gingerBill2022-05-212-2/+2
|
* Begin work on Atomics for wasm32 (wait and notify intrinsics)gingerBill2022-05-212-0/+44
|
* Fix typogingerBill2022-05-181-1/+1
|
* Use `RtlWaitOnAddress` to allow for a `i64` sized duration rather than `u32`gingerBill2022-05-171-9/+9
|
* Remove unused importsgingerBill2022-04-304-4/+0
|
* Unify implementation for *nix platformsgingerBill2022-04-305-221/+63
|
* Add `sync.Parker`gingerBill2022-04-301-0/+56
|
* Remove the wait group based semaphore implementationgingerBill2022-04-303-49/+24
| | | | It was a misuse of the data structure
* Correct explicit atomic orderingsgingerBill2022-04-301-4/+3
|
* Use Acquire semantics for the `futex_wait` load shortcutgingerBill2022-04-271-2/+2
|
* Remove `prev` from `Atomic_Cond`gingerBill2022-04-271-7/+3
|
* Merge branch 'master' into sync-cond-futexgingerBill2022-04-271-4/+4
|\
| * Unify default `Sema` and `Atomic_Sema` behaviourgingerBill2022-04-272-73/+34
| |
* | Implement `_Sema` with `Atomic_Sema`gingerBill2022-04-261-38/+4
| |
* | Simplify `Atomic_Sema` implementationgingerBill2022-04-261-36/+31
| |
* | Simplify Atomic_Cond implementationgingerBill2022-04-262-94/+19
|/
* Add explicit memory ordering for the internal Sema implementationgingerBill2022-04-011-5/+5
|
* Fix `_Sema`gingerBill2022-04-013-6/+6
|
* Remove code deduplicationgingerBill2022-03-311-66/+7
|
* Remove pthreads dependencygingerBill2022-03-315-64/+112
|
* Change `intrinsics.Atomic_Memory_Order` fields to use `Ada_Case` rather than ↵gingerBill2022-03-314-32/+32
| | | | `snake_case`
* Correct ordering in `auto_reset_event_signal`gingerBill2022-03-311-2/+2
|
* Rename package name to `sync`gingerBill2022-03-3118-18/+18
|
* Enforce success failure pairings of `compare_exchange_*_explicit` at compile ↵gingerBill2022-03-311-1/+1
| | | | time
* Update core to use new atomic intrinsicsgingerBill2022-03-314-97/+63
|
* Replace `sync` with `sync2`gingerBill2022-03-3031-2037/+76
|
* Improve spin lock for atomic_mutex_lockgingerBill2022-03-301-5/+4
|
* freebsd_amd64 supportSébastien Marie2022-03-133-7/+91
|
* Remove taggingerBill2022-03-121-1/+1
|
* initial OpenBSD supportSébastien Marie2022-02-256-3/+126
|
* Convert `ODIN_OS` and `ODIN_ARCH` to use enums rather than use stringsgingerBill2022-01-202-2/+2
|
* Add `.Private` information to doc-formatgingerBill2022-01-194-67/+61
|
* Print examples correctlygingerBill2022-01-192-74/+70
|
* core/sys/unix: Add syscalls_linux.odinYawning Angel2021-11-173-7/+5
| | | | | | | Linux is in the unfortunate situation where the system call number is architecture specific. This consolidates the system call number definitions in a single location, adds some wrappers, and hopefully fixes the existing non-portable invocations of the syscall intrinsic.
* Add comments to procedure groupsgingerBill2021-10-132-1/+19
|