[vlc-devel] [PATCH] -- skins2(Windows) sometimes hangs

brezhoneg1 brezhoneg1 at yahoo.fr
Thu Mar 19 14:35:24 CET 2009

With skins2 on Windows, vlc can often hang in CreateWindowEx.
(Especially when using audio-visual)

Though windows created in multiple threads is not a problem on
MS-Windows as it is with xlib, literature on the web warns of possible
blocking situations when (re)parenting is done between a child and a
parent residing in two different threads. A way to avoid this blocking
problem is to tell the child windows not to send parentNotify messages
to the parent.

This patch adds the WS_EX_NOPARENTNOTIFY option in CreateWindowEx. Tests
indeed show no more such hanging when this patch is applied.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-with-skins2-Windows-solve-vlc-sometimes-hanging-b.patch
Type: application/octet-stream
Size: 1354 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090319/4a46ef4f/attachment.obj>

More information about the vlc-devel mailing list