Re: [RFC/PATCH] MSVC: Windows-native implementation of pthread_cond_broadcast
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jan 29, 2010, 20:02 UTC
- Message-ID
- <201001292102.49105.j6t@kdbg.org>
- In-Reply-To
- <1264793213-8805-1-git-send-email-zfuzesi@eaglet.hu>
On Freitag, 29. Januar 2010, Zoltán Füzesi wrote:
> Johannes, how about this? I haven't tested it.
Neither have I, but I do not expect that it work: You neither modify the waiters count nor do you wait for it to be modified; IOW, you have a busy loop. cond_broadcast is not that trivial. I hope to send a patch tonight.
-- Hannes