[boehm-gc] Import 6.3 alpha 1
Jeff Sturm
jsturm@one-point.com
Tue Jul 29 20:33:00 GMT 2003
On Wed, 30 Jul 2003, [iso-8859-1] Danny Smith wrote:
> > Is the problem that the Windows headers are sometimes included after the GC_headers, and this
> > generates an inconsistent declaration for GC_CreateThread, due to the
> >
> > #define CreateThread GC_CreateThread
> >
> > in gc.h?
>
> Not really. If code calls CreateThread, it expects callee
> to pop the stack. If it gets GC_CreateThread beacuse of that define,
> GC_CreateThread had better pop the stack too.
What if GC_CreateThread isn't declared or defined with WINAPI at all?
Jeff
More information about the Java-patches
mailing list