[PATCH] Modified pthread types; From: cygwin-patches@cygwin.com
C. Ripple
chr_news@gmx.net
Mon Jul 8 10:17:00 GMT 2002
> From: Christoph
...
> Using your patch I needed to tweak /usr/include/pthreads.h
> when compiling libstdc++. Also I don't think that I saw a
> memory leak when running your test program from the
> cygwin-patch mailing list.
Of course I screwed this up. To compile the cygwin dll
it self one needs to put a guard
#if !defined(__INSIDE_CYGWIN__) || !defined(__cplusplus)
around
> -#define PTHREAD_COND_INITIALIZER (void *)21
> +#define PTHREAD_COND_INITIALIZER (pthread_mutex_t)21
The patch contains Thomas's original patch + my micro
modification.
/Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pthread_types.patch
Type: application/octet-stream
Size: 3573 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020708/46a0a0a2/attachment.obj>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list