mdbx-test: fix build for __ANDROID_API__ < 24 (using pthread_barrier_t stub).

This commit is contained in:
Leonid Yuriev
2022-01-05 16:53:03 +03:00
parent b19ebf0c2e
commit 9cf18176f0
5 changed files with 7 additions and 9 deletions

8
test/stub/README.md Normal file
View File

@@ -0,0 +1,8 @@
# DarwinPthreadBarrier
A pthread_barrier_t implementation for Mac OS/X
There is no pthread_barrier_t in Mac OS/X pthreads. This project fixes
this omission by providing a simple-minded barrier implementation based
on a pair of pthread_mutex_t and pthread_cond_t.