in reply to Re^4: XS: free() outside of the main thread causes crash on Windows
in thread XS: free() outside of the main thread causes crash on Windows
But yes perl does redefine these things, ...
The problem is that those also get redefined at various points. See win32\win32iop.h. Sometimes, multiple times depending upon where you are in the source code.
And the allocator used under Windows is a custom allocator. See win32\vmem.h. (Though that is also dependent upon build-time options...)
It's all very convoluted to work out exactly what is being compiled.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: XS: free() outside of the main thread causes crash on Windows
by syphilis (Archbishop) on Sep 25, 2014 at 08:54 UTC | |
by BrowserUk (Patriarch) on Sep 25, 2014 at 09:26 UTC | |
by OlegG (Monk) on Sep 25, 2014 at 09:50 UTC | |
by BrowserUk (Patriarch) on Sep 25, 2014 at 10:04 UTC | |
by OlegG (Monk) on Sep 25, 2014 at 10:14 UTC | |
| |
by syphilis (Archbishop) on Sep 25, 2014 at 10:34 UTC | |
by BrowserUk (Patriarch) on Sep 25, 2014 at 11:26 UTC |