I've been developing some plugins for VLC using MSVC... which has been working great, except for one problem!
It's a known bug, that when running under a debugger, PulseEvent (even SetEvent/ResetEvent) will fail to release a waiting thread. See Article ID: Q173260 in MSDN for full details on this quirk. The fix, is to add a Sleep( 0 ) before calling PulseEvent(), to make sure all threads are in a wait state.
It's making it very hard to debug my plugins, as 1/2 the time VLC just hangs when trying to start up...
Please, add a Sleep(0) before the PulseEvent in vlc_mutex_unlock() for WIN32...
Thanks,
Richard