mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
broke verlong lines
This commit is contained in:
@ -104,7 +104,8 @@ main()
|
|||||||
for (i = 0; i < num_threads; i++)
|
for (i = 0; i < num_threads; i++)
|
||||||
{
|
{
|
||||||
DWORD useless;
|
DWORD useless;
|
||||||
tid[i] = CreateThread (NULL, 0, thread_specific_data, testfiles[i], 0, &useless);
|
tid[i] = CreateThread(NULL, 0,
|
||||||
|
thread_specific_data, testfiles[i], 0, &useless);
|
||||||
if (tid[i] == NULL)
|
if (tid[i] == NULL)
|
||||||
{
|
{
|
||||||
perror("CreateThread");
|
perror("CreateThread");
|
||||||
@ -112,7 +113,8 @@ main()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (WaitForMultipleObjects (num_threads, tid, TRUE, INFINITE) == WAIT_FAILED) perror ("WaitForMultipleObjects failed");
|
if (WaitForMultipleObjects (num_threads, tid, TRUE, INFINITE) == WAIT_FAILED)
|
||||||
|
perror ("WaitForMultipleObjects failed");
|
||||||
|
|
||||||
for (i = 0; i < num_threads; i++)
|
for (i = 0; i < num_threads; i++)
|
||||||
{
|
{
|
||||||
@ -126,8 +128,10 @@ main()
|
|||||||
}
|
}
|
||||||
|
|
||||||
xmlCatalogCleanup();
|
xmlCatalogCleanup();
|
||||||
for (i = 0; i < num_threads; i++)
|
for (i = 0; i < num_threads; i++) {
|
||||||
if (results[i] != (DWORD) Okay) printf("Thread %d handling %s failed\n", i, testfiles[i]);
|
if (results[i] != (DWORD) Okay)
|
||||||
|
printf("Thread %d handling %s failed\n", i, testfiles[i]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
xmlCleanupParser();
|
xmlCleanupParser();
|
||||||
|
Reference in New Issue
Block a user