Rebase against 8ddff3f51faca2c0824e204a69f69e241fb93d15.

This commit is contained in:
Alistair Leslie-Hughes
2021-05-26 10:10:15 +10:00
parent 69765f438b
commit 34afd80e2e
7 changed files with 49 additions and 60 deletions

View File

@@ -1,4 +1,4 @@
From c076b2fef32e83de8e1ee2bee7a4a4ad997fcfff Mon Sep 17 00:00:00 2001
From b0d987483476c7c6517a81e602f3bb8c20033f08 Mon Sep 17 00:00:00 2001
From: Zebediah Figura <z.figura12@gmail.com>
Date: Tue, 26 Jun 2018 18:44:44 -0500
Subject: [PATCH] kernel32/tests: Zigzag test.
@@ -9,11 +9,11 @@ The primary function is to check for races. The secondary function is to measure
1 file changed, 79 insertions(+)
diff --git a/dlls/kernel32/tests/sync.c b/dlls/kernel32/tests/sync.c
index 7df1b1406b4..666318cb2c3 100644
index 997c34ed0fd..79dbcc19660 100644
--- a/dlls/kernel32/tests/sync.c
+++ b/dlls/kernel32/tests/sync.c
@@ -3135,6 +3135,84 @@ static void test_QueueUserAPC(void)
ok( ret == WAIT_OBJECT_0, "SleepEx returned %u\n", ret);
@@ -3154,6 +3154,84 @@ static void test_QueueUserAPC(void)
ok(apc_count == 1, "APC count %u\n", apc_count);
}
+static int zigzag_state, zigzag_count[2], zigzag_stop;
@@ -97,7 +97,7 @@ index 7df1b1406b4..666318cb2c3 100644
START_TEST(sync)
{
char **argv;
@@ -3200,5 +3278,6 @@ START_TEST(sync)
@@ -3220,5 +3298,6 @@ START_TEST(sync)
test_srwlock_example();
test_alertable_wait();
test_apc_deadlock();