| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix #4496 - allow unlock of unlocked mutex (making it consistent with ↵ | Laytan Laats | 2024-12-06 | 1 | -1/+1 |
| | | | | | windows behaviour) | ||||
| * | sync: fix no new values | Laytan Laats | 2024-12-05 | 1 | -3/+3 |
| | | |||||
| * | sync: fix require results | Laytan Laats | 2024-12-05 | 1 | -3/+3 |
| | | |||||
| * | sync: fix futexes on wasm | Laytan Laats | 2024-12-05 | 1 | -15/+5 |
| | | |||||
| * | Merge branch 'master' into file-tags-without-comments | Karl Zylinski | 2024-09-17 | 10 | -126/+121 |
| |\ | |||||
| | * | fix wrong ulock timeout calculation, add version check for ios | Laytan Laats | 2024-09-17 | 1 | -1/+4 |
| | | | |||||
| | * | Pass microseconds instead of nanoseconds to __ulock_wait | pkova | 2024-09-17 | 1 | -1/+1 |
| | | | |||||
| | * | Fix code alignment in futex_darwin.odin | Pyry Kovanen | 2024-09-17 | 1 | -1/+1 |
| | | | | | | | Co-authored-by: Feoramund <161657516+Feoramund@users.noreply.github.com> | ||||
| | * | Fix core sync test deadlock on darwin | pkova | 2024-09-17 | 1 | -2/+8 |
| | | | |||||
| | * | Remove unneeded synchronizations in `Chan` | Feoramund | 2024-09-15 | 1 | -43/+35 |
| | | | | | | | | | Everything was already guarded by `c.mutex`. | ||||
| | * | Fix comments | Feoramund | 2024-09-11 | 2 | -10/+10 |
| | | | |||||
| | * | Add `cpu_relax` to `sync.auto_reset_event_signal` | Feoramund | 2024-09-11 | 1 | -0/+1 |
| | | | |||||
| | * | Fix deadlock in `Auto_Reset_Event` | Feoramund | 2024-09-11 | 1 | -5/+4 |
| | | | |||||
| | * | Fix data races in `sync.Recursive_Benaphore` | Feoramund | 2024-09-11 | 1 | -15/+16 |
| | | | |||||
| | * | Fix `recursive_benaphore_try_lock` | Feoramund | 2024-09-10 | 1 | -4/+4 |
| | | | | | | | | | Previously, if the owner called this, it would fail. | ||||
| | * | Fix `chan.can_send` for unbuffered channels | Feoramund | 2024-09-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | `w_waiting` is the signal that says a caller is waiting to be able to send something. It is incremented upon send and - in the case of an unbuffered channel - it can only hold one message. Therefore, check that `w_waiting` is zero instead. | ||||
| | * | Forbid `chan.try_send` on closed buffered channels | Feoramund | 2024-09-10 | 1 | -0/+4 |
| | | | |||||
| | * | Fix deadlock on sending to full, buffered, closed `Chan` | Feoramund | 2024-09-10 | 1 | -1/+6 |
| | | | | | | | | | | | This will also keep messages from being sent to closed, buffered channels in general. | ||||
| | * | Keep `chan.can_recv` from deadlocking | Feoramund | 2024-09-10 | 1 | -1/+1 |
| | | | |||||
| | * | Use `contextless` procs in `core:sync` instead | Feoramund | 2024-09-10 | 9 | -49/+33 |
| | | | |||||
| | * | Fix atomic memory order for `sync.ticket_mutex_unlock` | Feoramund | 2024-09-09 | 1 | -1/+1 |
| | | | |||||
| | * | Fix data race in `atomic_sema_wait_with_timeout` | Feoramund | 2024-09-09 | 1 | -1/+1 |
| | | | |||||
| | * | Fix `sync.Benaphore` | Feoramund | 2024-09-09 | 1 | -3/+3 |
| | | | | | | | | | | | The calls to `atomic_add*` return the value before adding, not after, so the previous code was causing the occasional data race. | ||||
| * | | Moved all packages in core, base, vendor, tests and examples to use new #+ ↵ | Karl Zylinski | 2024-09-14 | 17 | -29/+29 |
| |/ | | | | file tag syntax. | ||||
| * | fix #4219 - recursive mutex lock | Laytan Laats | 2024-09-08 | 1 | -1/+1 |
| | | |||||
| * | Move around mutex guard | gingerBill | 2024-09-08 | 1 | -3/+2 |
| | | |||||
| * | core: improve package doc comments for the documentation generator | Laytan Laats | 2024-09-03 | 1 | -3/+3 |
| | | |||||
| * | Fix thread sanitizer errors surfaced by tests/core/io | pkova | 2024-09-03 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #3810 from Feoramund/freebsd-core-net | Jeroen van Rijn | 2024-08-09 | 1 | -24/+17 |
| |\ | | | | | Port `core:net` to FreeBSD | ||||
| | * | Fix FreeBSD futex implementation | Feoramund | 2024-06-26 | 1 | -24/+17 |
| | | | | | | | | | | | | | - Add missing size of timeout struct to `_umtx_op`. - Use `WAIT_UINT` not `WAIT`, as the expected value is an unsigned integer. - Use new native calls instead of libc. | ||||
| * | | Begin converting `os.Errno` to be a `nil`-able type as a transition period | gingerBill | 2024-08-04 | 1 | -6/+5 |
| | | | |||||
| * | | [sync]: Document all procedures | flysand7 | 2024-07-30 | 4 | -181/+1273 |
| | | | |||||
| * | | Fix loads of indentation issues with mixing spaces and tabs | gingerBill | 2024-06-29 | 2 | -2/+2 |
| |/ | |||||
| * | Merge pull request #3524 from Feoramund/freebsd-amd64-syscall-errno | gingerBill | 2024-06-20 | 1 | -7/+7 |
| |\ | | | | | Add `intrinsics.syscall_bsd` | ||||
| | * | Use `syscall_bsd` on NetBSD | Feoramund | 2024-06-12 | 1 | -7/+7 |
| | | | |||||
| * | | Fix `core:sync/chan` for rand | gingerBill | 2024-06-15 | 1 | -4/+1 |
| |/ | |||||
| * | core/sync: fix wrong timeout calculation, `time.Duration` is ns already | Laytan Laats | 2024-06-07 | 1 | -1/+1 |
| | | |||||
| * | Propper thread identification on NetBSD | Andreas T Jonsson | 2024-06-05 | 1 | -2/+6 |
| | | |||||
| * | Merge branch 'master' into netbsd | Andreas T Jonsson | 2024-05-10 | 2 | -14/+32 |
| |\ | |||||
| | * | Merge pull request #3526 from laytan/target-features | gingerBill | 2024-05-05 | 1 | -13/+31 |
| | |\ | | | | | | | Improve target features support | ||||
| | | * | compiler: improve target features support | Laytan Laats | 2024-05-02 | 1 | -13/+31 |
| | | | | |||||
| | * | | sync: fix deadlock in one shot event | Laytan Laats | 2024-05-02 | 1 | -1/+1 |
| | |/ | |||||
| * | | Merged with master | Andreas T Jonsson | 2024-05-02 | 1 | -0/+2 |
| |\| | |||||
| | * | Fix memory leak in `sync/chan` | Feoramund | 2024-04-26 | 1 | -0/+2 |
| | | | |||||
| * | | Should pass 0 as the rest of futex arguments | Andreas T Jonsson | 2024-04-25 | 1 | -4/+4 |
| | | | |||||
| * | | Switched to native futex on NetBSD | Andreas T Jonsson | 2024-04-25 | 1 | -137/+46 |
| | | | |||||
| * | | Make the linter happy | Andreas T Jonsson | 2024-04-19 | 2 | -2/+0 |
| | | | |||||
| * | | Initial commit of NetBSD port | Andreas T Jonsson | 2024-04-16 | 2 | -0/+175 |
| |/ | |||||
| * | Update "core:runtime" to "base:runtime" | Lucas Perlind | 2024-04-07 | 1 | -1/+1 |
| | | |||||
| * | darwin: use new wait on address API if possible | Laytan Laats | 2024-03-15 | 1 | -2/+62 |
| | | |||||