removed schädel lock mechanism

This commit is contained in:
2026-06-09 20:21:39 +02:00
parent 36159288d5
commit 8dfbe26ebc

View File

@@ -34,9 +34,9 @@
#endif #endif
#ifndef MIHP_HEAP_LOCK_TYPE #ifndef MIHP_HEAP_LOCK_TYPE
#define MIHP_HEAP_LOCK_TYPE volatile bool // Does NOT have to be reentred safe #define MIHP_HEAP_LOCK_TYPE bool // Does NOT have to be reentred safe
#define MIHP_LOCK_HEAP(LockVarPtr) { while (*(LockVarPtr)) {}; *(LockVarPtr) = true; } #define MIHP_LOCK_HEAP(LockVarPtr) {}
#define MIHP_UNLOCK_HEAP(LockVarPtr) { *(LockVarPtr) = false; } #define MIHP_UNLOCK_HEAP(LockVarPtr) {}
#endif #endif
/* */ /* */