remove the dependency to pthread on Windows

This commit is contained in:
krangelov
2021-11-10 17:27:45 +01:00
parent 68fd5460f4
commit 9804d993e4
4 changed files with 47 additions and 17 deletions

View File

@@ -54,13 +54,15 @@ public:
}
};
#include "ipc.h"
class PgfDB {
private:
int fd;
const char *filepath;
malloc_state* ms;
pthread_rwlock_t *rwlock;
ipc_rwlock_t *rwlock;
#ifdef _WIN32
HANDLE hMap;