[PHP-DEV] Interesting thread problem in windows... From: Shane Caraveo (shane <email protected>)
Date: 05/30/98

Hello everyone,
I've hit on an interesting problem. I was wondering if there are any other
windows programmers out there who might have an idea. I'm working on the
isapi module, and have a dllmain function which handles process and thread
attach and detach. For some reason not *all*, but *some* threads run the
thread attach section. The ones that do not then fail because the dll has
not been initialized the way it should be. As I understand it, all threads
that attach to a dll, except the first to attach, are supposed to run
dllmain with reason for call being DLL_THREAD_ATTACH.

Shane