in reply to Re^9: XS: free() outside of the main thread causes crash on Windows
in thread XS: free() outside of the main thread causes crash on Windows

I understand that. And in my real code i'll undef this temporarily and only to manipulate pure C structures.
  • Comment on Re^10: XS: free() outside of the main thread causes crash on Windows

Replies are listed 'Best First'.
Re^11: XS: free() outside of the main thread causes crash on Windows
by BrowserUk (Patriarch) on Sep 25, 2014 at 11:20 UTC
    And in my real code i'll undef this temporarily and only to manipulate pure C structures.

    The way I did it was to put crt(re|C|M)alloc() & crtFree() functions in a separate file with the appropriate #undefs.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.