ember_os 0.1.3

A simple OS kernel implemented in rust, which has referenced https://os.phil-opp.com/
Documentation
1
2
3
4
5
6
7
8
9
10
11
use alloc::sync::Arc;
use spin::mutex::Mutex;

pub async fn mutex() {
  const RES: usize = 3;

  let counter = Arc::new(Mutex::<usize>::new(0));
  for _ in 0..RES {
    let _ = counter.clone();
  }
}