Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 23841 invoked from network); 21 Aug 2009 08:33:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Aug 2009 08:33:27 -0000 Received: (qmail 4726 invoked by uid 500); 21 Aug 2009 08:33:49 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 4628 invoked by uid 500); 21 Aug 2009 08:33:49 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 4619 invoked by uid 99); 21 Aug 2009 08:33:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 08:33:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 08:33:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5800923888E6; Fri, 21 Aug 2009 08:33:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r806455 - /commons/sandbox/runtime/trunk/src/main/native/os/darwin/pmutex.c Date: Fri, 21 Aug 2009 08:33:25 -0000 To: commits@commons.apache.org From: mturk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090821083325.5800923888E6@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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)