[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [OT] Win32 condition variable implementation

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-09-10 16:41:42 CEST

mark benedetto king <mbk@lowlatency.com> writes:

> A counting semaphore keeps an internal counter; we'll call it num_avail.
> This is a spin-lock implementation:

Much as I imagined.

> Because thread 3 is still holding cond->mutex, thread 1 cannot
> actually wait until the broadcast is complete.

I see it now, thanks.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 10 16:42:30 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.