코딩Coding/Rust❤️Optimization❤️
Rust❤️Threads Id & Process Id 🆔
내인생PLUS
2023. 9. 3. 15:19
728x90
https://stackoverflow.com/questions/47075469/get-the-current-thread-id-and-process-id-as-integers
Get the current thread id and process id as integers?
Is there a way to get the current process id and thread id in Rust as integers? The closest I got was ::std::thread::current().id() which returns an opaque ThreadId object. When trying to access...
stackoverflow.com
https://github.com/ruuda/thread-id
GitHub - ruuda/thread-id: Get a unique thread ID in Rust
Get a unique thread ID in Rust. Contribute to ruuda/thread-id development by creating an account on GitHub.
github.com
반응형