Diff for /embedaddon/libxml2/testThreadsWin32.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:37:58 version 1.1.1.2, 2014/06/15 19:53:28
Line 104  main() Line 104  main()
                 for (i = 0; i < num_threads; i++)                  for (i = 0; i < num_threads; i++)
                 {                  {
                         DWORD useless;                          DWORD useless;
                        tid[i] = CreateThread(NULL, 0,                         tid[i] = CreateThread(NULL, 0,
                                 thread_specific_data, testfiles[i], 0, &useless);                                  thread_specific_data, testfiles[i], 0, &useless);
                         if (tid[i] == NULL)                          if (tid[i] == NULL)
                         {                          {
Line 113  main() Line 113  main()
                         }                          }
                 }                  }
   
                if (WaitForMultipleObjects (num_threads, tid, TRUE, INFINITE) == WAIT_FAILED)                 if (WaitForMultipleObjects (num_threads, tid, TRUE, INFINITE) == WAIT_FAILED)
                         perror ("WaitForMultipleObjects failed");                          perror ("WaitForMultipleObjects failed");
   
                 for (i = 0; i < num_threads; i++)                  for (i = 0; i < num_threads; i++)
Line 129  main() Line 129  main()
   
                 xmlCatalogCleanup();                  xmlCatalogCleanup();
                 for (i = 0; i < num_threads; i++) {                  for (i = 0; i < num_threads; i++) {
                    if (results[i] != (DWORD) Okay)                     if (results[i] != (DWORD) Okay)
                         printf("Thread %d handling %s failed\n", i, testfiles[i]);                          printf("Thread %d handling %s failed\n", i, testfiles[i]);
                 }                  }
         }          }

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>