This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: Cancelling threads and C++ (LinuxThreads)
- To: george@moberg.com
- Subject: Re: Cancelling threads and C++ (LinuxThreads)
- From: Jamie Lokier <egcs@tantalophile.demon.co.uk>
- Date: Mon, 28 Jun 1999 23:02:44 +0200
- Cc: libc-alpha@sourceware.cygnus.com, egcs@egcs.cygnus.com
- References: <XFMail.990628100320.george@moberg.com>
george@moberg.com wrote:
> I could probably supply a patch if I played around with this long
> enough. Is it appropriate to include C++ code in the C
> library?
Wouldn't it be enough to include a hook in the C library, such as a weak
function pointer, which is overriden when linked with C++ code?
-- Jamie