X-Spam-Check-By: sourceware.org
Date: Wed, 6 Sep 2006 11:58:05 +0200
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: cygwin@cygwin.com
Subject: Re: Inter-Process Mutexes
Message-ID: <20060904082849.GB4461@implementation.labri.fr>
Mail-Followup-To: cygwin@cygwin.com
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <BAY24-F18F3FEBE76CC597C84DBDBE330@phx.gbl>
User-Agent: Mutt/1.5.11
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi,

Drake Baker, le Mon 04 Sep 2006 01:49:25 -0500, a �crit :
> I have seen conflicting information on the web concerning inter-process 
> mutexes in CYGWIN.  I have seen outright statements that it is not 
> supported, and I have seen statements that ALL mutexes are inter-process by 
> default.  Obviously, only one statement is currently correct.

Both are true :)

Windows provides inter-process mutexes (you just need to give a name to
CreateMutex ; every process that give the same name will get the same
mutex).  But cygwin doesn't provide a pthread interface for it.  PTW.

Samuel

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

