Paul Gofman (@gofman) commented about dlls/ntdll/tests/sync.c:
- DWORD ret;
- for (i = 0; i < 50; i++)
- {
for (j = 0; j < ARRAY_SIZE(tests); j++)
{
const struct delay_param *test = &tests[j];
timeout.QuadPart = test->timeout;
apc_count = 0;
if (test->queue_apc)
{
int k;
for (k = 0; k < 8; k++)
ok( QueueUserAPC( apc_proc, GetCurrentThread(), (ULONG_PTR)&apc_count ),
"%s: failed to queue APC %d.\n", test->desc, k );
We now use winetest_push_context / winetest_pop_context to avoid adding test id string into every ok().