This is the mail archive of the
pthreads-win32@sources.redhat.com
mailing list for the pthreas-win32 project.
Re: Testing Pthreads with Visual Studio .Net
- From: Pietrobon Marcello <teiffel at attglobal dot net>
- To: Pthreads Developers List <pthreads-win32 at sourceware dot cygnus dot com>
- Date: Tue, 19 Feb 2002 23:52:38 -0600
- Subject: Re: Testing Pthreads with Visual Studio .Net
- References: <3C730579.BDEDEF21@attglobal.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