Another thought. If you add #undef malloc just prior to your use of malloc, you may find that the code will run without immediately crashing. But I make no claim that you won't run into similar problems later on.
In reply to Re^3: [Win32] pthreads and memory allocation
by BrowserUk
in thread [Win32] pthreads and memory allocation
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |