mdbx-test: initial OSX support.

This commit is contained in:
Leonid Yuriev
2019-08-13 02:12:13 +03:00
parent 054a88c502
commit 3f64d45819
6 changed files with 44 additions and 13 deletions

View File

@@ -21,6 +21,10 @@
#include <sys/wait.h>
#include <unistd.h>
#ifdef __APPLE__
#include "darwin/pthread_barrier.c"
#endif
struct shared_t {
pthread_barrier_t barrier;
pthread_mutex_t mutex;