Commits on Source (4)
-
Steve Lhomme authored
No need for any conversion to int internally.
8e7a66b5 -
Steve Lhomme authored
None of this code block works if th is NULL (external thread), as there is no "killed" variable.
f7151490 -
Steve Lhomme authored
This is what the documentation [1] says we should use. Kernel32.dll is just redirecting to api-ms-win-core-processthreads-l1-1-3.dll but kernelbase.dll is not a redirection. [1] https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-setthreaddescription
dcebc092 -
Steve Lhomme authored
And then simplify the code locally. Now there's only one current_thread_ctx TLS lookup for the whole duration of vlc_tick_wait(). The killed variable is only check if it's a VLC thread and killable is true. Not sure why the Win8+ code differs from the rest, even the memory order loading of th->killed is different.
03937b92