diff options
Diffstat (limited to 'databases/foundationdb/files/patch-flow_ThreadPrimitives.h')
| -rw-r--r-- | databases/foundationdb/files/patch-flow_ThreadPrimitives.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/databases/foundationdb/files/patch-flow_ThreadPrimitives.h b/databases/foundationdb/files/patch-flow_ThreadPrimitives.h index 39c07c611904..e36f793af1b7 100644 --- a/databases/foundationdb/files/patch-flow_ThreadPrimitives.h +++ b/databases/foundationdb/files/patch-flow_ThreadPrimitives.h @@ -1,4 +1,4 @@ ---- flow/ThreadPrimitives.h.orig 2018-05-11 01:30:59 UTC +--- flow/ThreadPrimitives.h.orig 2018-08-01 01:25:10 UTC +++ flow/ThreadPrimitives.h @@ -25,7 +25,7 @@ #include "Error.h" @@ -9,7 +9,7 @@ #include <semaphore.h> #endif -@@ -63,11 +63,11 @@ class ThreadSpinLock { (public) +@@ -63,11 +63,11 @@ public: #endif } void leave() { @@ -23,12 +23,12 @@ __sync_synchronize(); #endif #if VALGRIND -@@ -116,6 +116,8 @@ class Event { (private) - #ifdef _WIN32 +@@ -117,6 +117,8 @@ private: void* ev; #elif defined(__linux__) -+ sem_t sem; -+#elif defined(__FreeBSD__) sem_t sem; ++#elif defined(__FreeBSD__) ++ sem_t sem; #elif defined(__APPLE__) mach_port_t self; + semaphore_t sem; |
