mirror of
https://github.com/xythrez/RustMP.git
synced 2025-12-14 04:21:01 +00:00
Added sysinfo and included usage example
This commit is contained in:
parent
2d7facfb2c
commit
25e0917fdd
4 changed files with 145 additions and 13 deletions
|
|
@ -1,5 +1,9 @@
|
|||
mod sysinfo;
|
||||
|
||||
use std::sync::{Arc, RwLock, RwLockReadGuard, RwLockWriteGuard};
|
||||
|
||||
pub use sysinfo::SystemObject;
|
||||
|
||||
pub struct Capture<T> {
|
||||
value: Arc<RwLock<T>>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue