[PATCH] evr: Add missing LeaveCriticalSection on creating tracking thread.
On 12/11/20 10:52 AM, Haidong Yu wrote:
0001-evr-Add-missing-LeaveCriticalSection-on-creating-tra.patch
From 79707b289e9cfa1bb734c2dfef68fe24f78e5c38 Mon Sep 17 00:00:00 2001 From: yuhaidong <yuhaidong(a)uniontech.com> Date: Fri, 11 Dec 2020 10:16:00 +0800 Subject: [PATCH] evr: Add missing LeaveCriticalSection on creating tracking thread.
Signed-off-by: yuhaidong <yuhaidong(a)uniontech.com> --- .vscode/settings.json | 16 ++++++++++++++++ dlls/evr/sample.c | 1 + 2 files changed, 17 insertions(+) create mode 100644 .vscode/settings.json
diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000000..f6f773bb522 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,16 @@ +{ + "files.associations": { + "*.idl": "c", + "array": "c", + "string_view": "c", + "initializer_list": "c", + "utility": "c", + "functional": "c", + "istream": "c", + "ostream": "c", + "tuple": "c", + "type_traits": "c", + "string": "c", + "*.rh": "c" + } +} \ No newline at end of file
Hi Haidong, You're submitting unrelated changes. Thanks, Zhiyi
diff --git a/dlls/evr/sample.c b/dlls/evr/sample.c index aedf19b9fd4..44b09d6d474 100644 --- a/dlls/evr/sample.c +++ b/dlls/evr/sample.c @@ -345,6 +345,7 @@ static void video_sample_create_tracking_thread(void) { WARN("Failed to create sample tracking thread.\n"); CloseHandle(ready_event); + LeaveCriticalSection(&tracking_thread_cs); return; }
Hi, While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=83337 Your paranoid android. === debiant (build log) === ../wine/dlls/evr/sample.c:348:35: error: ‘amp’ undeclared (first use in this function) ../wine/dlls/evr/sample.c:348:38: error: expected ‘)’ before ‘;’ token Task: The win32 Wine build failed === debiant (build log) === ../wine/dlls/evr/sample.c:348:35: error: ‘amp’ undeclared (first use in this function) ../wine/dlls/evr/sample.c:348:38: error: expected ‘)’ before ‘;’ token Task: The wow64 Wine build failed
participants (3)
-
Haidong Yu -
Marvin -
Zhiyi Zhang