[vlc-devel] [PATCH] Win32 threads: remove functions forbidden on Windows Store

Rémi Denis-Courmont remi at remlab.net
Thu Aug 15 14:12:55 CEST 2013


On Thu, 15 Aug 2013 13:35:52 +0200, Rafaël Carré <funman at videolan.org>
wrote:
> Le 15/08/2013 13:20, Rémi Denis-Courmont a écrit :
>> On Thu, 15 Aug 2013 12:29:31 +0200, Rafaël Carré <funman at videolan.org>
>> wrote:
>>> Do not create a suspended thread so ResumeThread becomes unnecessary.
>> 
>> The comment that this patch removes explains why you cannot do that.
>> Also,
>> I don't think Gildas would have bothered with the explicit suspension
if
>> it
>> was not required.
> 
> The risk is the thread terminating before beginthreadex returns and that
> case is handled.

In a totally lame fashion that may take a whole scheduler slice to
complete. I don't think that's an improvement for desktop Windows.

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list