summaryrefslogtreecommitdiff
path: root/lib/libpthread/tests/README
blob: bb4a3e7ce0101a5c44893cc5e64baa8af7675ad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
This directory contains a few test and benchmark programs that I've 
developed to help me test the consistancy of the libpthread.a. 

TEST
----------------------
test_create		Tests the pthread_create() routine. The stack addresses
				should be very different (ie the upper values of the
				address should be different) and the arg should be
				0xdeadbeaf.

test_switch		A nondeterministic test. It should show context switching,
				by displaying different letters.

test_sleep		Timing this test should result in a time of about 20 seconds.
				It should sleep for 10 seconds and then print ba 10 times
				at the rate of about once a second.

p_bench_*		Benchmarks for various routines.

------------------------------------------------------------------------------
Copyright (c) 1994 Chris Provenzano. All rights reserved.
This product includes software developed by the Univeristy of California,
Berkeley and its contributors.

For further licencing and distribution restrictions see the file COPYRIGHT
included in the parent directory.