1
0
kopia lustrzana https://github.com/bspeice/qadapt synced 2026-03-28 04:40:11 -04:00

Final cleanup, time to commit

This commit is contained in:
2018-11-11 22:34:05 -05:00
rodzic 8bc768e40b
commit 901e7941a2
5 zmienionych plików z 30 dodań i 17 usunięć

Wyświetl plik

@ -75,7 +75,7 @@ static INTERNAL_ALLOCATION: RwLock<usize> = RwLock::new(usize::max_value());
/// Get the current "protection level" in QADAPT: calls to enter_protected() - exit_protected()
pub fn protection_level() -> usize {
PROTECTION_LEVEL.try_with(|v| *v.read() ).unwrap_or(0)
PROTECTION_LEVEL.try_with(|v| *v.read()).unwrap_or(0)
}
fn claim_internal_alloc() {