apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [PATCH] WIN32 allow destructors for apr_threadkey_private
Date Mon, 21 Aug 2006 18:58:34 GMT
Branko ─îibej wrote:
> I've recently learned of a trick that would make this work anywhere,
> even in a static lib, and wouldn't need DllMain. You can actually insert
> your own constructors and destructors into the CRT's tables.

Two questions - does this include per-thread on thread exit destruction, and
how much variance is there from crt to crt?  I'm particularly worried since
more and more code is built with mixed crts, e.g. a 2003 and a 2005 runtime.

View raw message