back to storing rwlocks in a separate file to avoid moving the lock

This commit is contained in:
krangelov
2021-12-22 22:19:56 +01:00
parent 12b4958b99
commit 4792665241
2 changed files with 178 additions and 29 deletions

View File

@@ -62,7 +62,9 @@ private:
const char *filepath;
malloc_state* ms;
#ifdef _WIN32
#ifndef _WIN32
pthread_rwlock_t *rwlock;
#else
HANDLE hMap;
HANDLE hRWEvent;
#endif