[vlc-devel] [PATCH v2 5/5] vout: win32: drawable: use an internal HWND to detect size changes

Rémi Denis-Courmont remi at remlab.net
Thu May 7 16:53:16 CEST 2020


Le torstaina 7. toukokuuta 2020, 17.31.03 EEST Steve Lhomme a écrit :
> My understanding is that semaphores are heavier that condition
> variables. On the other hand it would be a clean win32 API call...

Win32 semaphores are heavier than condition variables because they're kernel 
objects.

VLC semaphores are much cheaper than VLC condition variables, as is evident 
from the VLC sources.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list