Thread notices: leave out threads Rust's std starts
Their TLS callbacks run before std's start routine records the thread, and std aborts if anything asks for the current thread first (stdout and stderr locks do, so title code calling our logging functions would). Threads starting in our exe (the title's main thread and our runtime's workers) now get no notices; the probe test starts its thread in title code. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
4b2526918b
commit
bc3070991a
3 files changed
+61
-2
No files matched your search
@@ -17,6 +17,7 @@ blake3.workspace = true
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows-sys = { workspace = true, features = [
|
||||
"Wdk_System_Threading",
|
||||
"Win32_Foundation",
|
||||
"Win32_System_Diagnostics_Debug",
|
||||
"Win32_System_Kernel",
|
||||
|
||||
Reference in new issue
Block a user