Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
Bmakefile
ChangeLog
ChangeLog.2010
Debug.dsp
Debug.dsw
Debug.plg
Debug.txt
GNUmakefile
Makefile
README
README.BENCHTESTS
README.WINPTHREADS
SIZES.GC
SIZES.GCE
SIZES.VC
SIZES.VCE
SIZES.VSE
Wmakefile
barrier1.c
barrier2.c
barrier3.c
barrier4.c
barrier5.c
barrier6.c
benchlib.c
benchtest.h
benchtest1.c
benchtest2.c
benchtest3.c
benchtest4.c
benchtest5.c
cancel1.c
cancel2.c
cancel3.c
cancel4.c
cancel5.c
cancel6a.c
cancel6d.c
cancel7.c
cancel8.c
cancel9.c
cleanup0.c
cleanup1.c
cleanup2.c
cleanup3.c
condvar1.c
condvar1_1.c
condvar1_2.c
condvar2.c
condvar2_1.c
condvar3.c
condvar3_1.c
condvar3_2.c
condvar3_3.c
condvar4.c
condvar5.c
condvar6.c
condvar7.c
condvar8.c
condvar9.c
context1.c
count1.c
create1.c
create2.c
create3.c
delay1.c
delay2.c
detach1.c
equal1.c
errno1.c
exception1.c
exception2.c
exception3.c
exit1.c
exit2.c
exit3.c
exit4.c
exit5.c
eyal1.c
inherit1.c
join0.c
join1.c
join2.c
join3.c
kill1.c
loadfree.c
mutex1.c
mutex1e.c
mutex1n.c
mutex1r.c
mutex2.c
mutex2e.c
mutex2r.c
mutex3.c
mutex3e.c
mutex3r.c
mutex4.c
mutex5.c
mutex6.c
mutex6e.c
mutex6es.c
mutex6n.c
mutex6r.c
mutex6rs.c
mutex6s.c
mutex7.c
mutex7e.c
mutex7n.c
mutex7r.c
mutex8.c
mutex8e.c
mutex8n.c
mutex8r.c
once1.c
once2.c
once3.c
once4.c
priority1.c
priority2.c
reuse1.c
reuse2.c
runall.c
rwlock1.c
rwlock2.c
rwlock2_t.c
rwlock3.c
rwlock3_t.c
rwlock4.c
rwlock4_t.c
rwlock5.c
rwlock5_t.c
rwlock6.c
rwlock6_t.c
rwlock6_t2.c
rwlock7.c
rwlock8.c
self1.c
self2.c
semaphore1.c
semaphore2.c
semaphore3.c
semaphore4.c
semaphore4t.c
semaphore5.c
sizes.c
spin1.c
spin2.c
spin3.c
spin4.c
stress1.c
test.h
tryentercs.c
tryentercs2.c
tsd1.c
tsd2.c
valid1.c
valid2.c

README

Running test cases in this directory
------------------------------------

These make scripts expect to be able to copy the dll, library
and header files from this directory's parent directory,
which should be the pthreads-win32 source directory.

MS VC nmake
-------------

Run the target corresponding to the DLL version being tested:
 
nmake clean VC
 
or:
 
nmake clean VS


GNU GCC make
------------

Run "make clean" and then "make". See the "Known bugs" section
in ..\README.


Writing Test Cases
------------------

Tests written in this test suite should behave in the following manner:

	* If a test fails, leave main() with a result of 1.

	* If a test succeeds, leave main() with a result of 0.

	* No diagnostic output should appear when the test is succeeding.
	  Diagnostic output may be emitted if something in the test
	  fails, to help determine the cause of the test failure.

Notes:
------

Many test cases use knowledge of implementation internals which are supposed
to be opaque to portable applications.