Good Algorithm for "Multiple Readers"/"Multiple Writers"
Robert Kindred
RKindred@SwRI.edu
Thu Dec 8 14:46:00 GMT 2005
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
>
More information about the Pthreads-win32
mailing list