diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2018-08-14 14:59:46 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2018-08-14 14:59:46 +0000 |
commit | 30ea4c9bb1aeae18810049311d549162ecb02663 (patch) | |
tree | db58cd7a2cbef0115d4fffdc6d19b6a92b72b317 /databases/foundationdb/files/patch-flow_ThreadPrimitives.h | |
parent | security/openssl-devel: Update to 1.1.0i (diff) |
Update to 5.2.8, and fix building with boost 1.68.
PR: 229697
Notes
Notes:
svn path=/head/; revision=477160
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; |