I've been using the following code to run myfunction() in a different thread. It runs fine on linux, but after cross-compiling, it crashes on windows when it reaches this code. vlc_thread_t mythread; void spawn_myfunction() { vlc_join( mythread, NULL ); vlc_clone( &mythread, myfunction, NULL, VL...