Temp commit. Sound

This commit is contained in:
korenkonder
2022-10-03 15:54:28 +03:00
parent 64c1775f92
commit a15befd8fb
232 changed files with 19396 additions and 12396 deletions
-14
View File
@@ -4,17 +4,3 @@
*/
#include "lock.hpp"
inline void lock_init(lock* l) {
l->init = InitializeCriticalSectionAndSpinCount(&l->cs, 0);
}
inline bool lock_check_init(lock* l) {
return l->init;
}
inline void lock_free(lock* l) {
if (l->init)
DeleteCriticalSection(&l->cs);
l->init = FALSE;
}