in reply to
XS replacing my c library, not compatible with OS threads
Rather than use malloc and free, you could use the old Windows GlobalAlloc or LocalAlloc (with GlobalFree/LocalFree), or maybe even VirtualAlloc (which allocates pages).
Comment on
Re: XS replacing my c library, not compatible with OS threads
In Section
Seekers of Perl Wisdom