[314] in Pthreads mailing list archive
pthreads on HPUX -- my results; status?
daemon@ATHENA.MIT.EDU (John Kimball)
Wed May 8 14:03:54 1996
Date: Wed, 8 May 96 10:27:46 MST
From: jkimball@src.honeywell.com (John Kimball)
To: pthreads@MIT.EDU
In the archive at http://www.mit.edu:8008/bloom-picayune.mit.edu/pthreads,
I read several people having problems with proven-pthreads on
HPUX. But I just built the most recent beta (that I could find),
pthreads-1_60_beta5.tar.gz, and it seemed to work, *mostly*. So things are
much improved, I guess.
Regarding the interpretation of the test results below ... A few things
look like obvious failures; others I'm not sure of. (This is running on
HPUX 9.05.) Are there any nasty problems shown by the test results?
[29] % DOTESTS
========== p_bench_getpid
1000000 getpid calls took 1056530 usecs.
========== p_bench_mutex
1000000 mutex locks/unlocks no contention took 3109625 usecs.
========== p_bench_pthread_create
Bad pthread create routine <*******************************************
========== p_bench_read
1000000 reads of /dev/null took 48224891 usecs.
========== p_bench_yield
1000000 pthread_yields took 38933998 usecs.
========== test_create
Original thread stack at 7b0331e8
New thread was passed arg address deadbeef
New thread stack at 400237f8
========== test_cwd
getcwd => /users2/cee/free-pthreads/pthreads-1_60_beta5/tests
getwd => /users2/cee/free-pthreads/pthreads-1_60_beta5/tests
========== test_execve
This is the first message
Error: opening tty <***********************************************
========== test_fork
parent process 23251
DOTESTS: 23251 Hangup <******* didn't complete in 180 secs ***********
========== test_netdb
test_netdb START
getservbyname -> port 23
getservbyname_r -> port 23
gethostbyname -> 18.177.0.155
gethostbyname_r -> 18.177.0.155
test_netdb PASSED
========== test_preemption
test_preemption START
test_preemption PASSED
========== test_preemption_float
test_preemption_float INDETERMINATE
========== test_pthread_cond_timedwait
pthread_cond_timedwait START
pthread_cond_timedwait PASSED
========== test_pthread_join
Original thread stack at 7b0332e8
New thread 1 stack at 400237f8
New thread 2 stack at 400237f8
test_pthread_join PASSED
========== test_pthread_mutex
test_pthread_mutex START
test_mutex_static()
test_nocontention_lock()
test_contention_lock()
test_mutex_fast()
test_nocontention_lock()
test_contention_lock()
test_mutex_debug()
test_nocontention_lock()
test_contention_lock()
test_debug_double_lock()
test_debug_double_unlock()
test_pthread_mutex PASSED
========== test_pw
getpwuid(216) => 4000b3c8
you are: jkimball
uid: 216
gid: 200
class: (null)
gecos: John Kimball,HTC,436-3424,
dir: /users/jkimball
shell: /bin/csh
========== test_readdir
test_readdir PASSED
========== test_sleep
Going to sleep
Done sleeping
abababababababababab========== test_sock_1
initial thread 40009810 going to sleep
This should be message #1
This should be message #2
This should be message #3
This should be message #4
This should be message #5
This should be message #6
done sleeping
========== test_stdio_1
test_stdio_1 START
test_stdio_1 PASSED
========== test_switch
(A lot of a's, followed by a *lot* of alternating a's and b's.)
test_switch PASSED
[30] %