From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28651 invoked by alias); 8 Dec 2005 14:46:49 -0000 Received: (qmail 28643 invoked by uid 22791); 8 Dec 2005 14:46:49 -0000 X-Spam-Check-By: sourceware.org Received: from virus89-out.ccf.swri.edu (HELO virus89-out.ccf.swri.edu) (129.162.252.34) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 Dec 2005 14:46:47 +0000 Received: from RKINDREDXP (localhost [127.0.0.1]) by virus89-out.ccf.swri.edu (8.13.1/8.13.1) with SMTP id jB8Eked5022685; Thu, 8 Dec 2005 08:46:45 -0600 (CST) Reply-To: From: "Robert Kindred" To: "Stephen Croall" , Subject: RE: Good Algorithm for "Multiple Readers"/"Multiple Writers" Date: Thu, 08 Dec 2005 14:46:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2005/txt/msg00133.txt.bz2 I use the pthread_rwlock_t in pthreads-win32, and it works fine. Robert Kindred > -----Original Message----- > From: pthreads-win32-owner@sourceware.org > [mailto:pthreads-win32-owner@sourceware.org]On Behalf Of Stephen Croall > Sent: Thursday, December 08, 2005 3:10 AM > To: pthreads-win32@sources.redhat.com > Subject: Good Algorithm for "Multiple Readers"/"Multiple Writers" > > > Hi, > > I'm looking for a good, performant algorithm for "multiple > reader"/"multiple writer" locking. > > I'm in the process of writing my own but I would rather not fall into > any common pitfalls, especially since performance & scalability are > critical. > > Is anyone aware of whether POSIX implements this type of lock? I can't > seem to find any reference to it in the POSIX documentation. > > Cheers, Steve. > > -- > > J. Senior Software Engineer, Tibco Software Ltd. > T. +44 (0) 1792 360773 > M. +44 (0) 7788 971394 > E. scroall@tibco.com > W. www.tibco.com >