rust/library/std/src/sys/windows
Dylan DPC 629e7aa718
Rollup merge of #94618 - lewisclark:remove-stack-size-rounding, r=yaahc
Don't round stack size up for created threads in Windows

Fixes #94454

Windows does the rounding itself, so there isn't a need to explicity do the rounding beforehand, as mentioned by ```@ChrisDenton``` in #94454

> The operating system rounds up the specified size to the nearest multiple of the system's allocation granularity (typically 64 KB). To retrieve the allocation granularity of the current system, use the [GetSystemInfo](https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getsysteminfo) function.

https://docs.microsoft.com/en-us/windows/win32/procthread/thread-stack-size
2022-03-04 22:58:37 +01:00
..
alloc Rework std::sys::windows::alloc 2021-03-26 12:38:26 +01:00
args Update Windows arg parsing tests 2021-08-08 22:11:29 +01:00
c Windows error codes: Add two missing ones 2021-06-18 18:51:53 +01:00
os std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
path windows: Return the "Not Found" error when a path is empty 2021-11-17 03:11:14 +09:00
process Maintain broken symlink behaviour for the Windows exe resolver 2022-02-14 12:50:18 +00:00
alloc.rs Move std::sys_common::alloc to std::sys::common 2021-04-14 13:24:10 +02:00
args.rs Implement modern Windows arg parsing 2021-08-08 22:11:30 +01:00
c.rs Use HandleOrNull and HandleOrInvalid in the Windows FFI bindings. 2022-03-03 11:20:49 -08:00
cmath.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
compat.rs Fix calling convention for CRT startup 2021-01-31 08:49:23 -08:00
condvar.rs No longer put windows condvars in a box. 2020-10-02 09:47:08 +02:00
env.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
fs.rs Use HandleOrNull and HandleOrInvalid in the Windows FFI bindings. 2022-03-03 11:20:49 -08:00
handle.rs Use HandleOrNull and HandleOrInvalid in the Windows FFI bindings. 2022-03-03 11:20:49 -08:00
io.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
memchr.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
mod.rs Rename to InvalidFilename 2022-02-10 23:49:27 +09:00
mutex.rs Fix may not to appropriate might not or must not 2021-07-29 01:15:20 -04:00
net.rs use BOOL for TCP_NODELAY setsockopt value on Windows 2022-02-20 21:27:36 -08:00
os.rs Rollup merge of #89999 - talagrand:GetTempPath2, r=m-ou-se 2021-12-09 05:08:31 +01:00
os_str.rs Fix windows build 2021-12-28 11:40:58 +08:00
path.rs std::path::absolute 2022-02-08 14:57:34 +00:00
pipe.rs I/O safety. 2021-08-19 12:02:39 -07:00
process.rs Maintain broken symlink behaviour for the Windows exe resolver 2022-02-14 12:50:18 +00:00
rand.rs Use BCryptGenRandom instead of RtlGenRandom on Windows. 2021-10-15 13:22:28 +02:00
rwlock.rs Multiple improvements to RwLocks 2021-06-01 09:07:55 +02:00
stack_overflow.rs Apply clippy suggestions 2021-10-09 18:56:01 +02:00
stack_overflow_uwp.rs Move all cleanup to sys::cleanup 2021-04-22 10:44:44 +02:00
stdio.rs Hide Repr details from io::Error, and rework io::Error::new_const. 2022-02-04 18:47:29 -08:00
stdio_uwp.rs Reason safety for unsafe blocks for uwp stdin 2021-09-23 07:29:52 +08:00
thread.rs Rollup merge of #94618 - lewisclark:remove-stack-size-rounding, r=yaahc 2022-03-04 22:58:37 +01:00
thread_local_dtor.rs Run destructors from existing tls callback 2021-11-01 15:19:49 +00:00
thread_local_key.rs Run destructors from existing tls callback 2021-11-01 15:19:49 +00:00
thread_parker.rs Fix a bunch of typos 2021-12-14 16:40:43 +01:00
time.rs make Instant::{duration_since, elapsed, sub} saturating and remove workarounds 2022-02-13 01:04:55 +01:00