thread-register 0.1.1

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: 4.05 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 697.72 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

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