[hurd,commited,6/7] hurd: Add LLL_PRIVATE and LLL_SHARED

Message ID 20201216005944.3091900-7-samuel.thibault@ens-lyon.org
State New
Headers show
Series
  • hurd: add pshared semaphore support.
Related show

Commit Message

Samuel Thibault Dec. 16, 2020, 12:59 a.m.
---
 mach/lowlevellock.h | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.29.2

Patch

diff --git a/mach/lowlevellock.h b/mach/lowlevellock.h
index b872d0fe1e..9798d153cf 100644
--- a/mach/lowlevellock.h
+++ b/mach/lowlevellock.h
@@ -34,6 +34,9 @@ 
 /* Static initializer for low-level locks.  */
 #define LLL_LOCK_INITIALIZER   0
 
+#define LLL_PRIVATE        0
+#define LLL_SHARED         SYNC_SHARED
+
 /* Interruptible version of __gsync_wait.  */
 extern kern_return_t __gsync_wait_intr
 (