rust/src/libstd
Eduardo Sánchez Muñoz f03cf9916a Add a fast path for std:🧵:panicking.
This is done by adding a global atomic variable (non-TLS) that counts how many threads are panicking. In order to check if the current thread is panicking, this variable is read and, if it is zero, no thread (including the one where `panicking` is being called) is panicking and `panicking` can return `false` immediately without needing to access TLS. If the global counter is not zero, the local counter is accessed from TLS to check if the current thread is panicking.
2020-05-26 17:46:10 +02:00
..
benches Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
collections Add explicit references to the BuildHasher trait 2020-04-29 11:04:57 -04:00
ffi Auto merge of #71447 - cuviper:unsized_cow, r=dtolnay 2020-05-19 08:08:48 +00:00
io Better documentation for io::Read::read() return value 2020-05-09 01:17:20 +02:00
net Add fast-path optimization for Ipv4Addr::fmt 2020-05-20 16:49:31 -04:00
os Add illumos triple 2020-04-14 20:36:07 +00:00
prelude Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
sync Fix typo in doc comment. 2020-05-24 11:59:07 +03:00
sys Auto merge of #72472 - LeSeulArtichaut:sync-command, r=dtolnay 2020-05-25 02:48:55 +00:00
sys_common abort_internal is safe 2020-05-17 23:38:31 +02:00
tests Enable ARM TME (Transactional Memory Extensions) 2020-05-21 23:20:57 +02:00
thread Warn against thread::sleep in async fn 2020-05-12 16:38:02 +01:00
alloc.rs abort_internal is safe 2020-05-17 23:38:31 +02:00
ascii.rs Bump rustfmt to most recently shipped 2020-04-25 09:25:33 -04:00
backtrace.rs remove redundant returns (clippy::needless_return) 2020-03-20 20:23:03 +01:00
build.rs Add illumos triple 2020-04-14 20:36:07 +00:00
Cargo.toml use new interface to initialize Condvar 2020-05-17 23:49:18 +02:00
env.rs Remove recommendation for unmaintained crate 2020-05-01 20:51:20 -06:00
error.rs Overhaul of the AllocRef trait to match allocator-wg's latest consens 2020-03-26 17:10:54 +01:00
f32.rs Correct small typo: 'not' -> 'note' 2020-05-23 07:29:22 -04:00
f64.rs Correct small typo: 'not' -> 'note' 2020-05-23 07:29:22 -04:00
fs.rs Update name 2020-04-26 04:24:16 -07:00
future.rs Add core::future::IntoFuture 2020-05-22 10:55:01 +02:00
keyword_docs.rs Fix typos in docs for keyword "in" 2020-04-24 14:13:43 -07:00
lib.rs Add core::future::IntoFuture 2020-05-22 10:55:01 +02:00
macros.rs Update macros.rs: fix documentation typo. 2020-03-04 14:18:31 -05:00
memchr.rs libstd => 2018 2019-02-28 04:06:15 +09:00
num.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
panic.rs Require issue = "none" over issue = "0" in unstable attributes 2019-12-21 13:16:18 +02:00
panicking.rs Add a fast path for std:🧵:panicking. 2020-05-26 17:46:10 +02:00
path.rs Auto merge of #71447 - cuviper:unsized_cow, r=dtolnay 2020-05-19 08:08:48 +00:00
primitive_docs.rs Do not use "nil" to refer to () 2020-04-05 14:30:13 +02:00
process.rs Implement Sync for `process::Command on unix and vxworks 2020-05-22 18:33:12 +02:00
rt.rs Add a fast path for std:🧵:panicking. 2020-05-26 17:46:10 +02:00
time.rs correct comment to match behavior 2020-02-29 08:40:09 -05:00