[vlc-devel] [PATCH]Win32 screensaver disable change part II

Rémi Denis-Courmont remi at remlab.net
Mon May 2 22:55:43 CEST 2011

----- Message d'origine -----
> It isn't perfect code wise, since I have NO clue how to create thread
> without parameters using vlc thread functions. 

That is impossible. If you do not need any parameter, the convention is to pass NULL. That being said, there is almost always need to pass a parameter, some kind of context.

> kill_thread(id)

Killing a thread makes no sense. Every thread has to be joined, before the plugin is unloaded and before its context data gets invalidated.


More information about the vlc-devel mailing list