in reply to XS replacing my c library, not compatible with OS threads
malloc() free() and exit(), etc. live in MSVCRT.dll. That dll is the Window OS'es idea of these standard functions. That dll exists on every Windows system. VC2006 and gcc will link with that library. I guess somewhere along the way the OS guys and the compiler guys diverged in what they were doing and now there are many versions of MSVCRT that might or might not be on a particular Windows system. If for example, you have Visual Studio 2008, then that compiler will by default link with MSVCR90.dll a compiler specific library, not with MSVCRT.DLL.
I don't know what flavor of Perl you are running or how it was built. A binary distribution is going to link with the OS's memory mgmt because who knows whether MSVCRXX will wind up being there or not. Anyway some of your woes may be related to this issue.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XS replacing my c library, not compatible with OS threads
by BrowserUk (Patriarch) on Dec 01, 2010 at 10:24 UTC | |
by Corion (Patriarch) on Dec 01, 2010 at 10:28 UTC | |
by BrowserUk (Patriarch) on Dec 01, 2010 at 11:08 UTC |