tokio_rcu 0.2.1

RCU (read-copy-update) for async rust with tokio
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::membarrier::MemBarrierImpl;

pub struct MemBarrierImplWindows;
impl MemBarrierImpl for MemBarrierImplWindows {
    fn is_supported() -> bool {
        true
    }

    fn register() {}

    fn perform() {
        unsafe {
            windows::Win32::System::Threading::FlushProcessWriteBuffers();
        }
    }
}