about summary refs log tree commit diff
path: root/library/std/src/sys_common
AgeCommit message (Expand)AuthorLines
2022-06-23Remove `is_known_utf8` checks from more tests where it's no longer set.Dan Gohman-4/+0
2022-06-23Don't eagerly scan for `is_known_utf8` in `to_ascii_lowercase`/`uppercase`.Dan Gohman-12/+2
2022-06-23Panic safety.Dan Gohman-7/+7
2022-06-23Optimize `Wtf8Buf::into_string` for the case where it contains UTF-8.Dan Gohman-36/+365
2022-06-23Implement IpV{4,6}Addr structs with native Rust encodingLinus Färnstrand-3/+3
2022-06-23Represent SocketAddrV4 and SocketAddrV6 as Rust native encodingLinus Färnstrand-10/+10
2022-06-22std: rewrite SGX thread parkerjoboet-0/+2
2022-06-22Rollup merge of #96768 - m-ou-se:futex-fuchsia, r=tmandryYuki Okushi-0/+1
2022-06-21Use futex based thread parker on Fuchsia.Mara Bos-0/+1
2022-06-20Remove lies in comments.Mara Bos-7/+6
2022-06-19Auto merge of #97791 - m-ou-se:const-locks, r=m-ou-sebors-3/+8
2022-06-16Leak pthreax_mutex_t when it's dropped while locked.Mara Bos-3/+16
2022-06-15std: relax memory orderings in `Parker`joboet-8/+7
2022-06-13Lower listen backlog to fix accept crashesAzureMarker-6/+13
2022-06-13Horizon OS STD supportMeziu-0/+5
2022-06-06Make {Mutex, Condvar, RwLock}::new() const.Mara Bos-2/+2
2022-06-06Make all {Mutex, Condvar, RwLock}::new #[inline].Mara Bos-1/+6
2022-06-05std: solve priority issue for Parkerjoboet-24/+31
2022-06-03Lazily allocate+initialize locks.Mara Bos-8/+83
2022-06-03Use Drop instead of destroy() for locks.Mara Bos-25/+0
2022-05-30Remove "sys isn't exported yet" phraseest31-2/+2
2022-05-19std: fix deadlock in `Parker`joboet-4/+4
2022-05-18std: use an event flag based thread parker on SOLIDjoboet-3/+100
2022-05-09Use Rust 2021 prelude in std itself.Mara Bos-2/+1
2022-05-06Auto merge of #96510 - m-ou-se:futex-bsd, r=Amanieubors-0/+3
2022-05-05Rollup merge of #96619 - akiekintveld:same_mutex_check_relaxed_ordering, r=m-...Yuki Okushi-2/+8
2022-05-03Don't use futexes on netbsd.Mara Bos-1/+0
2022-05-01Add commentAustin Kiekintveld-0/+2
2022-05-01Fix formattingAustin Kiekintveld-2/+6
2022-05-01Relax memory ordering used in SameMutexCheckAustin Kiekintveld-1/+1
2022-05-01Relax memory ordering used in `min_stack`Austin Kiekintveld-2/+2
2022-04-29Use futex-based locks and thread parker on FreeBSD.Mara Bos-0/+1
2022-04-29Use futex-based locks and thread parker on DragonFlyBSD.Mara Bos-0/+1
2022-04-29Use futex-based locks and thread parker on NetBSD.Mara Bos-0/+1
2022-04-29Use futex-based locks and thread parker on OpenBSD.Mara Bos-0/+1
2022-04-28Auto merge of #96393 - joboet:pthread_parker, r=thomccbors-16/+28
2022-04-25Make EncodeWide implement FusedIteratorAron Parker-1/+4
2022-04-25std: directly use pthread in UNIX parker implementationjoboet-16/+28
2022-04-16Use a single ReentrantMutex implementation on all platforms.Mara Bos-13/+86
2022-04-14Use u32 instead of i32 for futexes.Mara Bos-6/+6
2022-04-06Rename RWLock to RwLock in std::sys.Mara Bos-18/+18
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-5/+7
2022-03-21Move pthread locks to own module.Mara Bos-10/+9
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-6/+6
2022-02-20Remove assertion on output length for `getsockopt`.Chris Copeland-1/+0
2022-02-20Fix `setsockopt` and `getsockopt` parameter names.Chris Copeland-9/+25
2022-02-04Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni-5/+5
2022-02-02Configure panic hook backtrace behaviorMark Rousskov-57/+0
2022-01-25Avoid double panics when using `TempDir` in testsChris Denton-1/+7
2022-01-17Help optimize out backtraces when disabledKornel-7/+18