[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.
Erwan10
More information about the vlc-devel
mailing list