Repository navigation
Abstract ProcThreadAttributeList into its own struct - #123604
Conversation
commented
Apr 7, 2024
|
r? @ChrisDenton rustbot has assigned @ChrisDenton. Use |
This comment has been minimized.
This comment has been minimized.
4134d3e to
3e6c21a
Compare
This comment has been minimized.
This comment has been minimized.
commented
May 4, 2024
|
r? @Dylan-DPC |
commented
May 4, 2024
|
Assigning it back to Chris giving them more time to review it :) (and well i am not the right person to review it :P) r? @ChrisDenton |
commented
May 19, 2024
|
☔ The latest upstream changes (presumably #125280) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@rustbot label +S-waiting-on-author -S-waiting-on-review |
commented
May 27, 2024
Would https://github.com/rust-lang/rust/blob/master/library/std/src/os/windows/process.rs, even be the right location for it considering it can be used to create a thread? Maybe |
commented
May 27, 2024
|
What I don't understand is that there exists a Is it possible to create a thread for the current process with |
commented
May 29, 2024
Yes. Indeed, the OS doesn't expose a special function to create a thread in the current process. |
0f24485 to
09c9f94
Compare
This comment has been minimized.
This comment has been minimized.
09c9f94 to
f371952
Compare
commented
Dec 10, 2024
|
@Dylan-DPC do you know somebody who could review this? |
commented
Dec 16, 2024
|
r? @joboet |
commented
Dec 16, 2024
|
r? @ChrisDenton |
commented
Dec 20, 2024
|
@bors r+ |
View all comments
As extensively discussed in issue #114854, the current implementation of the unstable
windows_process_extensions_raw_attributefeatures lacks support for passing a raw pointer.This PR wants to explore the opportunity to abstract away the
ProcThreadAttributeListinto its own struct to for one improve safety and usability and secondly make it possible to maybe also use it to spawn new threads.try-job: x86_64-mingw