Implemented SmartCriticalSection

This commit is contained in:
Alex
2022-10-21 03:49:12 +03:00
parent 2f7b871aa0
commit 5d41d36bd8
9 changed files with 59 additions and 30 deletions

View File

@ -2,7 +2,7 @@
#include <lock.hpp>
#include <memory.hpp>
NEWLOCK(liballocLock);
NewLock(liballocLock);
EXTERNC int liballoc_lock() { return liballocLock.Lock(); }
EXTERNC int liballoc_unlock() { return liballocLock.Unlock(); }