error in pthreads implementation?
Julian Hall
jules@acris.co.uk
Sat Jul 7 06:43:00 GMT 2001
I'm currently working on getting gcj to work properly with cygwin, and
am working on threading code; I seem to have found a bug in the
implementation of pthreads.h. This is quite possibly gcc 3.0 specific,
but when the macro pthread_cleanup_push(...) is used, I get the
following error from the compiler:
../../gcc-20010702/boehm-gc/cygwin_threads.c:455: function
`__cleanup_routine' is initialized like a variable
The attached diff seems to solve the problem, although it hasn't been
thoroughly tested.
Jules
More information about the Cygwin
mailing list