rust/library/std/src/sys
Dylan DPC 75023d61a1
Rollup merge of #103379 - cuviper:truncate-thread-name, r=thomcc
Truncate thread names on Linux and Apple targets

These targets have system limits on the thread names, 16 and 64 bytes
respectively, and `pthread_setname_np` returns an error if the name is
longer. However, we're not in a context that can propagate errors when
we call this, and we used to implicitly truncate on Linux with `prctl`,
so now we manually truncate these names ahead of time.

r? ``````@thomcc``````
2022-10-25 14:43:15 +05:30
..
common Reduce CString allocations in std as much as possible 2022-10-03 11:13:17 -07:00
hermit std: use sync::Mutex for internal statics 2022-10-13 12:55:14 +02:00
itron std: make ReentrantMutex movable and const; simplify Stdout initialization 2022-09-03 14:05:28 +02:00
sgx Bugfix: keep TLS data in sync 2022-10-14 17:07:18 +02:00
solid Rollup merge of #103005 - solid-rs:patch/kmc-solid/readdir-terminator, r=m-ou-se 2022-10-23 14:48:15 -07:00
unix Rollup merge of #103379 - cuviper:truncate-thread-name, r=thomcc 2022-10-25 14:43:15 +05:30
unsupported Add IsTerminal trait to determine if a descriptor or handle is a terminal 2022-10-15 00:35:38 +01:00
wasi Add IsTerminal trait to determine if a descriptor or handle is a terminal 2022-10-15 00:35:38 +01:00
wasm std: use sync::RwLock for internal statics 2022-09-19 23:27:26 +02:00
windows Reduce false positives in msys2 detection 2022-10-21 18:06:12 +01:00
mod.rs Reduce CString allocations in std as much as possible 2022-10-03 11:13:17 -07:00