Added ThreadPoolManager

This commit is contained in:
Yiyao Yu 2021-04-17 23:00:22 -04:00
commit d97b660b4b
3 changed files with 100 additions and 4 deletions

View file

@ -1,9 +1,8 @@
mod sysinfo;
pub mod sysinfo;
pub mod threadpool;
use std::sync::{Arc, RwLock, RwLockReadGuard, RwLockWriteGuard};
pub use sysinfo::SystemObject;
pub struct Capture<T> {
value: Arc<RwLock<T>>,
}