libmwemu 0.24.3

x86 32/64bits and system internals emulator, for securely emulating malware and other stuff.
Documentation
1
2
3
4
5
6
7
8
use std::collections::VecDeque;

#[derive(Debug, Clone)]
pub struct CritState {
    pub owner_tid: Option<u64>,    // Thread ID currently owning the lock
    pub recursion_count: usize,    // Recursive enter count
    pub wait_queue: VecDeque<u64>, // Waiting thread IDs
}