Subj : Re: VC++ 2005 beta1 fails with pthreads benchmark tests To : comp.os.ms-windows.programmer.nt.kernel-mode,comp.programming.threads From : Maxim S. Shatskih Date : Tue Apr 19 2005 12:22 am Not much people use POSIX threads in Windows, and even lesser of them need 100% POSIX compatibility. Most just need their code to work. -- Maxim Shatskih, Windows DDK MVP StorageCraft Corporation maxim@storagecraft.com http://www.storagecraft.com "Uenal Mutlu" <520001085531-0001@t-online.de> wrote in message news:d40cke$d2i$05$1@news.t-online.com... > When the POSIX pthreads library for w32 release 2-2-0 > (http://sources.redhat.com/pthreads-win32/) is compiled with VC++6 > then it compiles and passes all the benchmark tests in the subdirectory "tests". > Also, VC++ 2005 beta 1 compiles the tests fine, but here the following > tests fail in execution: > > # semaphore1.pass \ > # condvar2.pass \ > # condvar2_1.pass \ > # mutex8.pass \ > # mutex8n.pass \ > # mutex8e.pass \ > # mutex8r.pass \ > # condvar3.pass \ > # condvar3_1.pass \ > # condvar3_2.pass \ > # condvar3_3.pass \ > # condvar4.pass \ > # condvar5.pass \ > # condvar6.pass \ > # condvar7.pass \ > # condvar8.pass \ > # condvar9.pass \ > # rwlock7.pass \ > # rwlock8.pass \ > # rwlock2_t.pass \ > # rwlock3_t.pass \ > # rwlock4_t.pass \ > # rwlock5_t.pass \ > # rwlock6_t.pass \ > # rwlock6_t2.pass \ > # spin4.pass \ > > Why are there such differences in execution of the generated code > between VC++6 and VC++2005 ? Is this due to bugs in the beta1, > or is this the result of general differences between the two products? > Are there any compiler/linker switches for backwards "compatibility" to VC++6? > > > > > > > .