pthreads-w32 2.2.0 test failures

Ross Johnson rpj@callisto.canberra.edu.au
Tue Apr 5 02:06:00 GMT 2005


All of these are unserialised shared global variables in the tests
themselves!! Sketchy test coding that didn't show up on my single
processor.

Almost certain it's not a problem with the library.

Thanks.
Ross

On Mon, 2005-04-04 at 16:41 -0500, Tim Theisen wrote:
> I compiled the 2.2.0 release on my machine with the Visual Studio .NET
> 2003 and the following tests fail:
> 
> ... Running VC test: once2.exe
> Assertion failed: (numThreads == NUM_THREADS * NUM_ONCE), file once2.c,
> line 91
> 
> ... Running VC test: cleanup0.exe
> Assertion failed: (pop_count == NUMTHREADS), file cleanup0.c, line 202
> 
> ... Running VC test: cleanup1.exe
> Assertion failed: (pop_count == NUMTHREADS), file cleanup1.c, line 215
> 
> The once2 test fails fairly consistently (about 90% of the time).
> The cleanup tests fail intermittently (about 20% of the time).
> 
> I am using a dual processor 2.6GHz Pentium 4 Xeon with Hyperthreading
> enabled.
> 
> ...Tim
> 



More information about the Pthreads-win32 mailing list