This is the mail archive of the pthreads-win32@sources.redhat.com mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Testing Pthreads with Visual Studio .Net


This is just for information.
If I test pthreads-2001-07-12 things are a little bit different.
Once I fix barriers.c and spin.c with:
#if defined (__MINGW32__) || (_MSC_VER >= 1300)
# define _LONG long
# define _LPLONG long*
#else
# define _LONG PVOID
# define _LPLONG PVOID*
#endif


these are the tests errors I get:
spin2.c :
assert(pthread_spin_trylock(&lock) == EBUSY);  failed  because
pthread_spin_trylock(&lock) = 22

spin3.c :
assert(pthread_spin_unlock(&spin) == EPERM);  failed  because
pthread_spin_unlock(&spin) = 22

spin4.exe :
 The exception Privileged instruction. - (0xc0000096) occurred in the
application at location 0x77e8699b.

exception3.c :
assert(caught == NUMTHREADS);  failed  because  caught = 0

Regards,
Marcello



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]