This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [boehm-gc] Import 6.3 alpha 1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]