Re: [PATCH] MSVC: Windows-native implementation for subset of Pthreads API
- From
Andrzej K. Haczewski <ahaczewski@gmail.com>
- Date
- Nov 5, 2009, 08:45 UTC
- Message-ID
- <16cee31f0911050045t7a7301cdm39114997edfbfa60@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.2.00.0911042039200.10340@xanadu.home>
2009/11/5 Nicolas Pitre <nico@fluxnic.net>:
> Please use die("CreateSemaphore() failed") in the failure case instead
> of returning success.Sure, will do.
> However, my pthread_cond_init man page says:
And that is weird, because mine man page says: [[[ pthread_cond_init, pthread_cond_signal, pthread_cond_broadcast, and pthread_cond_wait never return an error code. ]]]
-- Andrzej