Re: [PATCH] Implement pthread_cond_broadcast on Windows
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 30, 2010, 02:28 UTC
- Message-ID
- <alpine.DEB.1.00.1001300328070.3749@intel-tinevez-2-302>
- In-Reply-To
- <201001300054.05610.j6t@kdbg.org>
Hi,
On Sat, 30 Jan 2010, Johannes Sixt wrote:
Show 16 quoted lines
> See http://www.cse.wustl.edu/~schmidt/win32-cv-1.html, section "The > SignalObjectAndWait solution". But note that this implementation does not > use SignalObjectAndWait (which is needed to achieve fairness, but we do > not need fairness). > > Note that our implementations of pthread_cond_broadcast and > pthread_cond_signal require that they are invoked with the mutex held that > is used in the pthread_cond_wait calls. > > Signed-off-by: Johannes Sixt <j6t@kdbg.org> > --- > Junio, > > please queue this patch for 1.7.0-rc1 even though it has not undergone > a lot of review - the result is better than a git that does not even > build on Windows.
As you Cc:ed the msysGit list, do you want this in 4msysgit.git, too?
Ciao, Dscho