Signed-off-by: Jacek Caban jacek@codeweavers.com --- dlls/kernelbase/thread.c | 15 ++++++++++++--- dlls/ntdll/tests/threadpool.c | 4 +--- dlls/ntdll/threadpool.c | 1 + 3 files changed, 14 insertions(+), 6 deletions(-)
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=69615
Your paranoid android.
=== w8adm (32 bit report) ===
ntdll: threadpool.c:335: Test failed: threadpool.c:178: expected info.userdata = 1, got 0 threadpool.c:336: Test failed: expected info.threadid != 0, got 0 threadpool.c:178: threadpool.c:199: threadpool.c:349: Test failed: WaitForSingleObject returned 258 threadpool.c:350: Test failed: expected info.userdata = 2, got 1 threadpool.c:353: Test failed: RtlDeregisterWait failed with status 103 threadpool.c:386: Test failed: threadpool.c:178: Running rtl_wait callback threadpool.c:397: Test failed: threadpool.c:178: Running rtl_wait callback threadpool.c:408: Test failed: expected info.userdata = 0x10000, got 0 threadpool.c:427: Test failed: expected info.userdata = 1, got 0 threadpool.c:440: Test failed: expected info.userdata = 1, got 0 threadpool.c:454: Test failed: expected info.userdata = 1, got 0 threadpool.c:467: Test failed: expected info.userdata = 1, got 0 threadpool.c:1351: Test failed: WaitForSingleObject returned 258 threadpool.c:1367: Test failed: WaitForSingleObject returned 258
=== w1064v1507 (32 bit report) ===
ntdll: threadpool.c:276: Test failed: WaitForSingleObject returned 258 threadpool.c:277: Test failed: expected info.userdata = 0x10000, got 0 threadpool.c:289: Test failed: WaitForSingleObject returned 0 threadpool.c:407: Test failed: WaitForSingleObject returned 258 threadpool.c:427: Test failed: expected info.userdata = 1, got 0 threadpool.c:440: Test failed: expected info.userdata = 1, got 0 threadpool.c:454: Test failed: expected info.userdata = 1, got 0 threadpool.c:467: Test failed: expected info.userdata = 1, got 0 threadpool.c:1351: Test failed: WaitForSingleObject returned 258 threadpool.c:1365: Test failed: WaitForSingleObject returned 0 threadpool.c:1419: Test failed: expected approximately 600 ticks, got 813 threadpool.c:1714: Test failed: WaitForSingleObject returned 258 threadpool.c:1725: Test failed: threadpool.c:1561: Running wait callback threadpool.c:1734: Test failed: WaitForSingleObject returned 0 threadpool.c:1749: Test failed: WaitForSingleObject returned 258 threadpool.c:1757: Test failed: WaitForSingleObject returned 0 threadpool.c:1764: Test failed: expected info.userdata = 0x10000, got 131072 threadpool.c:1781: Test failed: WaitForSingleObject returned 0
=== w1064v1809 (32 bit report) ===
ntdll: threadpool.c:322: Test failed: WaitForSingleObject returned 258 threadpool.c:335: Test failed: expected info.userdata = 1, got 0
=== w1064v1809_2scr (32 bit report) ===
ntdll: threadpool.c:322: Test failed: WaitForSingleObject returned 258 threadpool.c:335: Test failed: expected info.userdata = 1, got 0 threadpool.c:336: Test failed: expected info.threadid != 0, got 0 threadpool.c:338: Test failed: OpenThread failed with 87 threadpool.c:341: Test failed: QueueUserAPC failed with 6
=== w864 (64 bit report) ===
ntdll: threadpool.c:322: Test failed: WaitForSingleObject returned 258 threadpool.c:335: Test failed: expected info.userdata = 1, got 0 threadpool.c:336: Test failed: expected info.threadid != 0, got 0 threadpool.c:338: Test failed: OpenThread failed with 87 threadpool.c:341: Test failed: QueueUserAPC failed with 6 threadpool.c:349: Test failed: WaitForSingleObject returned 258 threadpool.c:386: Test failed: threadpool.c:178: expected info.userdata = 0x10000, got 0 threadpool.c:397: Test failed: threadpool.c:178: Running rtl_wait callback threadpool.c:408: Test failed: threadpool.c:178: Running rtl_wait callback threadpool.c:178: threadpool.c:427: Test failed: expected info.userdata = 1, got 0 threadpool.c:440: Test failed: expected info.userdata = 1, got 0 threadpool.c:454: Test failed: expected info.userdata = 1, got 0 threadpool.c:467: Test failed: threadpool.c:178: expected info.userdata = 1, got 0
=== w1064v1507 (64 bit report) ===
ntdll: threadpool.c:334: Test failed: WaitForSingleObject returned 258 threadpool.c:1351: Test failed: WaitForSingleObject returned 258 threadpool.c:1365: Test failed: WaitForSingleObject returned 0 threadpool.c:1699: Test failed: WaitForSingleObject returned 258 threadpool.c:1710: Test failed: WaitForSingleObject returned 0 threadpool.c:1714: Test failed: WaitForSingleObject returned 258 threadpool.c:1725: Test failed: expected info.userdata = 0x10000, got 0 threadpool.c:1734: Test failed: WaitForSingleObject returned 0 threadpool.c:1740: Test failed: expected info.userdata = 0, got 65536
=== w1064v1809 (64 bit report) ===
ntdll: threadpool.c:322: Test failed: WaitForSingleObject returned 258 threadpool.c:335: Test failed: expected info.userdata = 1, got 0 threadpool.c:385: Test failed: WaitForSingleObject returned 258 threadpool.c:397: Test failed: expected info.userdata = 0x10000, got 0 threadpool.c:408: Test failed: expected info.userdata = 0x10000, got 0 threadpool.c:427: Test failed: expected info.userdata = 1, got 0 threadpool.c:440: Test failed: expected info.userdata = 1, got 0 threadpool.c:454: Test failed: expected info.userdata = 1, got 0 threadpool.c:467: Test failed: expected info.userdata = 1, got 0