malloc can be one of many memory allocation system inside of XS, and it's not necessarily the same as the one pthreard was compiled with. I suspect your problems are related to that.
Write C in C, not in XS. Use XS as the glue.
In reply to Re: [Win32] pthreads and memory allocation
by ikegami
in thread [Win32] pthreads and memory allocation
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |