commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r806455 - /commons/sandbox/runtime/trunk/src/main/native/os/darwin/pmutex.c
Date Fri, 21 Aug 2009 08:33:25 GMT
Author: mturk
Date: Fri Aug 21 08:33:24 2009
New Revision: 806455

URL: http://svn.apache.org/viewvc?rev=806455&view=rev
Log:
Add missing private struct

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/darwin/pmutex.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/darwin/pmutex.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/darwin/pmutex.c?rev=806455&r1=806454&r2=806455&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/darwin/pmutex.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/darwin/pmutex.c Fri Aug 21 08:33:24 2009
@@ -54,6 +54,12 @@
     const char *filename;
 };
 
+typedef struct semblock_t {
+    acr_uint32_t    magic;       /* Is this our memeory     */
+    pid_t           creator;     /* Creator's process ID    */
+    acr_uint32_t    value;       /* Maximum semaphore value */
+} semblock_t;
+
 #if defined(ACR_USE_SYSV_MUTEX)
 
 static int mutex_owner_cleanup(void *mutex, int type, unsigned int flags)



Mime
View raw message