about summary refs log tree commit diff
path: root/library/std/src/sys/unix/thread_parker.rs
AgeCommit message (Collapse)AuthorLines
2022-09-10std: optimize thread parking on NetBSDjoboet-281/+0
2022-07-20Rollup merge of #98101 - vladimir-ea:stdlib_watch_os, r=thomccDylan DPC-2/+13
stdlib support for Apple WatchOS This is a follow-up to https://github.com/rust-lang/rust/pull/95243 (Add Apple WatchOS compiler targets) that adds stdlib support for Apple WatchOS. `@deg4uss3r` `@nagisa`
2022-07-20Library changes for Apple WatchOSVladimir Michael Eatwell-2/+13
2022-06-22Rollup merge of #96768 - m-ou-se:futex-fuchsia, r=tmandryYuki Okushi-0/+1
Use futex based thread parker on Fuchsia.
2022-06-21Use futex based thread parker on Fuchsia.Mara Bos-0/+1
2022-06-13Horizon OS STD supportMeziu-1/+1
Co-authored-by: Ian Chamberlain <ian.h.chamberlain@gmail.com> Co-authored-by: Mark Drobnak <mark.drobnak@gmail.com>
2022-05-06unix: always use 64-bit TimespecJosh Stone-1/+2
2022-05-03Don't use futexes on netbsd.Mara Bos-1/+0
The latest NetBSD release doesn't include the futex syscall yet.
2022-04-29Disable pthread thread parker on futex platforms.Mara Bos-1/+5
2022-04-28std: simplify UNIX parker timeoutsjoboet-57/+19
2022-04-25std: directly use pthread in UNIX parker implementationjoboet-0/+303
Mutex and Condvar are being replaced by more efficient implementations, which need thread parking themselves (see #93740). Therefore use the pthread synchronization primitives directly. Also, avoid allocating because the Parker struct is being placed in an Arc anyways.