thread-register 0.1.0

A library for obtaining and modifying thread register.
Documentation
  • Coverage
  • 40%
    2 out of 5 items documented0 out of 4 items with examples
  • Size
  • Source code size: 3.66 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 257.21 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • weizhiao/thread-register
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • weizhiao

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) };