in reply to Re^4: XS: free() outside of the main thread causes crash on Windows
in thread XS: free() outside of the main thread causes crash on Windows
#include <pthread.h> void *thread(void *arg) { char *msg = (char*)arg; printf("thread: %s\n", msg); free(msg); return NULL; } #include "EXTERN.h" ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: XS: free() outside of the main thread causes crash on Windows
by OlegG (Monk) on Sep 25, 2014 at 08:27 UTC | |
|
Re^6: XS: free() outside of the main thread causes crash on Windows
by OlegG (Monk) on Sep 25, 2014 at 08:19 UTC | |
by Anonymous Monk on Sep 25, 2014 at 08:28 UTC | |
by OlegG (Monk) on Sep 25, 2014 at 09:39 UTC |