| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-01-11 | std: begin moving platform support modules into `pal` | joboet | -301/+0 | |
| 2023-04-12 | remove some unneeded imports | KaDiWa | -2/+0 | |
| 2022-07-18 | std: panic instead of deadlocking in mutex implementation on Fuchsia | joboet | -1/+0 | |
| 2022-07-12 | std: fix issue with perma-locked mutexes on Fuchsia | joboet | -0/+4 | |
| 2022-06-30 | std: use futex-based locks on Fuchsia | joboet | -7/+18 | |
| 2022-06-22 | Rollup merge of #96768 - m-ou-se:futex-fuchsia, r=tmandry | Yuki Okushi | -0/+50 | |
| Use futex based thread parker on Fuchsia. | ||||
| 2022-06-21 | Use futex based thread parker on Fuchsia. | Mara Bos | -0/+50 | |
| 2022-05-11 | avoid using both Some() and ? on linux/android/freebsd code | Sébastien Marie | -1/+1 | |
| 2022-05-11 | openbsd: convert futex timeout managment to Timespec usage | Sébastien Marie | -8/+6 | |
| 2022-05-09 | Use Rust 2021 prelude in std itself. | Mara Bos | -3/+0 | |
| 2022-05-06 | unix: always use 64-bit Timespec | Josh Stone | -4/+5 | |
| 2022-05-03 | Round timeouts up to infinite in futex_wait on DragonFlyBSD. | Mara Bos | -9/+8 | |
| 2022-05-03 | Add #[cfg] in cfg_if for linux in unix/futex. | Mara Bos | -3/+5 | |
| 2022-05-03 | Don't use futexes on netbsd. | Mara Bos | -41/+5 | |
| The latest NetBSD release doesn't include the futex syscall yet. | ||||
| 2022-04-29 | Always return false in futex_wake on {Free,DragonFly}BSD. | Mara Bos | -4/+8 | |
| 2022-04-29 | Use futex-based locks and thread parker on FreeBSD. | Mara Bos | -2/+56 | |
| 2022-04-29 | Use futex-based locks and thread parker on DragonFlyBSD. | Mara Bos | -0/+30 | |
| 2022-04-29 | Use futex-based locks and thread parker on NetBSD. | Mara Bos | -24/+51 | |
| 2022-04-29 | Use futex-based locks and thread parker on OpenBSD. | Mara Bos | -1/+51 | |
| 2022-04-19 | Make std::sys::unix::futex consistent on emscripten. | Mara Bos | -22/+25 | |
| 2022-04-14 | Use u32 instead of i32 for futexes. | Mara Bos | -16/+14 | |
| 2022-04-11 | Add doc comments to futex operations. | Mara Bos | -0/+10 | |
| 2022-04-07 | Return status from futex_wake(). | Mara Bos | -6/+4 | |
| 2022-04-01 | Add comment about futex_wait timeout. | Mara Bos | -0/+2 | |
| 2022-03-24 | Explicitly use CLOCK_MONOTONIC in futex_wait. | Mara Bos | -3/+3 | |
| Instant might be changed to use CLOCK_BOOTTIME at some point. | ||||
| 2022-03-24 | Use FUTEX_WAIT_BITSET rather than FUTEX_WAIT on Linux. | Mara Bos | -22/+34 | |
| 2022-03-23 | Add futex_wake_all. | Mara Bos | -0/+12 | |
| 2022-03-23 | Return timeout status in futex_wait. | Mara Bos | -4/+5 | |
| 2020-11-12 | Fix timeout conversion | J. Ryan Stinnett | -2/+1 | |
| 2020-11-12 | Update thread and futex APIs to work with Emscripten | J. Ryan Stinnett | -1/+42 | |
| This updates the thread and futex APIs in `std` to match the APIs exposed by Emscripten. This allows threads to run on `wasm32-unknown-emscripten` and the thread parker to compile without errors related to the missing `futex` module. To make use of this, Rust code must be compiled with `-C target-feature=atomics` and Emscripten must link with `-pthread`. I have confirmed this works well locally when building multithreaded crates. Attempting to enable `std` thread tests currently fails for seemingly obscure reasons and Emscripten is currently disabled in CI, so further work is needed to have proper test coverage here. | ||||
| 2020-09-27 | Check conversion from Duration to timespec in futex_wait. | Mara Bos | -12/+11 | |
| 2020-09-27 | Move linux-specific futex code into `sys` module. | Mara Bos | -0/+38 | |
