This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
RE: [boehm-gc] Import 6.3 alpha 1
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Cc: "Boehm, Hans" <hans_boehm at hp dot com>, <gcc-patches at gcc dot gnu dot org>, <java-patches at gcc dot gnu dot org>
- Date: Tue, 29 Jul 2003 16:30:30 -0400 (EDT)
- Subject: 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