#include <pthread.h> void *thread(void *arg) { char *msg = (char*)arg; printf("thread: %s\n", msg); free(msg); return NULL; } #include "EXTERN.h" ...
In reply to Re^5: XS: free() outside of the main thread causes crash on Windows
by Anonymous Monk
in thread XS: free() outside of the main thread causes crash on Windows
by OlegG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |