#modify #thread #obtaining #register #set

no-std thread-register

A library for obtaining and modifying thread register

2 releases

Uses new Rust 2024

0.1.1 Mar 4, 2025
0.1.0 Feb 22, 2025

#230 in Operating systems

38 downloads per month
Used in dlopen-rs

MIT license

4KB
51 lines

license thread-register on docs.rs

thread-register

A library for obtaining and modifying thread register.

Example

// Get thread register value
let val = ThreadRegister::get();
// Set thread register value
unsafe { ThreadRegister::set(val) };

No runtime deps