diff options
author | Jonathan Mini <mini@FreeBSD.org> | 2002-09-16 19:29:34 +0000 |
---|---|---|
committer | Jonathan Mini <mini@FreeBSD.org> | 2002-09-16 19:29:34 +0000 |
commit | cfa1f4e6598fe97439b3012396e30d1eeb759421 (patch) | |
tree | 458429bcec9378f696f0095268e373f131a31a66 | |
parent | a3ad85e51b8dbb685ea451e3129cd39a84e9dcf7 (diff) |
Notes
56 files changed, 62 insertions, 62 deletions
diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile index 6d281af9b016b..a250757a567f8 100644 --- a/lib/libkse/Makefile +++ b/lib/libkse/Makefile @@ -14,7 +14,7 @@ CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ -I${.CURDIR}/../../include -# Uncomment this if you want libc_r to contain debug information for +# Uncomment this if you want libpthread to contain debug information for # thread locking. CFLAGS+=-D_LOCK_DEBUG diff --git a/lib/libkse/test/Makefile b/lib/libkse/test/Makefile index 0eb530c3ef148..d34e3e72c7fb8 100644 --- a/lib/libkse/test/Makefile +++ b/lib/libkse/test/Makefile @@ -1,7 +1,7 @@ # # $FreeBSD$ # -# Automated test suite for libc_r (pthreads). +# Automated test suite for libpthread (pthreads). # # File lists. @@ -26,7 +26,7 @@ CFLAGS := -Wall -pipe -g3 LDFLAGS_A := -static LDFLAGS_P := -pg LDFLAGS_S := -LIBS := -lc_r +LIBS := -lpthread # Flags passed to verify. "-v" or "-u" may be useful. VFLAGS := diff --git a/lib/libkse/test/README b/lib/libkse/test/README index 507ea4e19f74f..8f625a1438e73 100644 --- a/lib/libkse/test/README +++ b/lib/libkse/test/README @@ -3,10 +3,10 @@ $FreeBSD$ This test suite is meant to test general functionality of pthreads, as well as provide a simple framework for regression tests. In general, this test suite can be used with any pthreads library, but in reality there are a number of -libc_r-specific aspects to this test suite which would require some effort to -get around if testing another pthreads library. +libpthread-specific aspects to this test suite which would require some +effort to get around if testing another pthreads library. -This test suite assumes that libc_r is installed. +This test suite assumes that libpthread is installed. There are two forms of test that the 'verify' script understands. The simpler form is the diff format, where the output of the test program is diff'ed with diff --git a/lib/libkse/test/propagate_s.pl b/lib/libkse/test/propagate_s.pl index 9cd5fb054ae14..6b8509043d980 100644 --- a/lib/libkse/test/propagate_s.pl +++ b/lib/libkse/test/propagate_s.pl @@ -29,7 +29,7 @@ # ########################################################################### # -# Verify that no cancellation points are propagated inside of libc_r. +# Verify that no cancellation points are propagated inside of libpthread. # # $FreeBSD$ # diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index 6d281af9b016b..a250757a567f8 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -14,7 +14,7 @@ CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ -I${.CURDIR}/../../include -# Uncomment this if you want libc_r to contain debug information for +# Uncomment this if you want libpthread to contain debug information for # thread locking. CFLAGS+=-D_LOCK_DEBUG diff --git a/lib/libpthread/man/pthread_attr.3 b/lib/libpthread/man/pthread_attr.3 index ff692e2ba77f3..9208fe58d74c1 100644 --- a/lib/libpthread/man/pthread_attr.3 +++ b/lib/libpthread/man/pthread_attr.3 @@ -50,7 +50,7 @@ .Nm pthread_attr_getscope .Nd thread attribute operations .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_cancel.3 b/lib/libpthread/man/pthread_cancel.3 index 1b998e6eee1df..a64e3d7fd72d0 100644 --- a/lib/libpthread/man/pthread_cancel.3 +++ b/lib/libpthread/man/pthread_cancel.3 @@ -6,7 +6,7 @@ .Nm pthread_cancel .Nd cancel execution of a thread .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_cleanup_pop.3 b/lib/libpthread/man/pthread_cleanup_pop.3 index 5321303201361..85c22db21a01c 100644 --- a/lib/libpthread/man/pthread_cleanup_pop.3 +++ b/lib/libpthread/man/pthread_cleanup_pop.3 @@ -34,7 +34,7 @@ .Nm pthread_cleanup_pop .Nd call the first cleanup routine .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft void diff --git a/lib/libpthread/man/pthread_cleanup_push.3 b/lib/libpthread/man/pthread_cleanup_push.3 index b7d797edfe629..f7cf663470aca 100644 --- a/lib/libpthread/man/pthread_cleanup_push.3 +++ b/lib/libpthread/man/pthread_cleanup_push.3 @@ -34,7 +34,7 @@ .Nm pthread_cleanup_push .Nd add a cleanup function for thread exit .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft void diff --git a/lib/libpthread/man/pthread_cond_broadcast.3 b/lib/libpthread/man/pthread_cond_broadcast.3 index b3947bd8ac006..4852615367da0 100644 --- a/lib/libpthread/man/pthread_cond_broadcast.3 +++ b/lib/libpthread/man/pthread_cond_broadcast.3 @@ -34,7 +34,7 @@ .Nm pthread_cond_broadcast .Nd unblock all threads waiting for a condition variable .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_cond_destroy.3 b/lib/libpthread/man/pthread_cond_destroy.3 index ab1ea0f8d2c3c..92c8392d98c53 100644 --- a/lib/libpthread/man/pthread_cond_destroy.3 +++ b/lib/libpthread/man/pthread_cond_destroy.3 @@ -34,7 +34,7 @@ .Nm pthread_cond_destroy .Nd destroy a condition variable .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_cond_init.3 b/lib/libpthread/man/pthread_cond_init.3 index 542110bbd6ad6..70894108c04fd 100644 --- a/lib/libpthread/man/pthread_cond_init.3 +++ b/lib/libpthread/man/pthread_cond_init.3 @@ -34,7 +34,7 @@ .Nm pthread_cond_init .Nd create a condition variable .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_cond_signal.3 b/lib/libpthread/man/pthread_cond_signal.3 index 4bb85c942b390..dac3dde2ae2de 100644 --- a/lib/libpthread/man/pthread_cond_signal.3 +++ b/lib/libpthread/man/pthread_cond_signal.3 @@ -34,7 +34,7 @@ .Nm pthread_cond_signal .Nd unblock a thread waiting for a condition variable .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_cond_timedwait.3 b/lib/libpthread/man/pthread_cond_timedwait.3 index afd16b5f0d02e..dc1394548e1e4 100644 --- a/lib/libpthread/man/pthread_cond_timedwait.3 +++ b/lib/libpthread/man/pthread_cond_timedwait.3 @@ -34,7 +34,7 @@ .Nm pthread_cond_timedwait .Nd "wait on a condition variable for a specific amount of time" .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_cond_wait.3 b/lib/libpthread/man/pthread_cond_wait.3 index e464a1e524a5a..dd84a633595b2 100644 --- a/lib/libpthread/man/pthread_cond_wait.3 +++ b/lib/libpthread/man/pthread_cond_wait.3 @@ -34,7 +34,7 @@ .Nm pthread_cond_wait .Nd wait on a condition variable .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_condattr.3 b/lib/libpthread/man/pthread_condattr.3 index 478e11264daf4..4891089e1eb35 100644 --- a/lib/libpthread/man/pthread_condattr.3 +++ b/lib/libpthread/man/pthread_condattr.3 @@ -34,7 +34,7 @@ .Nm pthread_condattr_destroy .Nd condition attribute operations .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_create.3 b/lib/libpthread/man/pthread_create.3 index 35f783c3ce9b6..1998122e825e1 100644 --- a/lib/libpthread/man/pthread_create.3 +++ b/lib/libpthread/man/pthread_create.3 @@ -37,7 +37,7 @@ .Nm pthread_create .Nd create a new thread .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_detach.3 b/lib/libpthread/man/pthread_detach.3 index 15729af692c34..3147f64d4aa16 100644 --- a/lib/libpthread/man/pthread_detach.3 +++ b/lib/libpthread/man/pthread_detach.3 @@ -37,7 +37,7 @@ .Nm pthread_detach .Nd detach a thread .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_equal.3 b/lib/libpthread/man/pthread_equal.3 index 8b733dabdf4d7..1d1984356823d 100644 --- a/lib/libpthread/man/pthread_equal.3 +++ b/lib/libpthread/man/pthread_equal.3 @@ -37,7 +37,7 @@ .Nm pthread_equal .Nd compare thread IDs .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_exit.3 b/lib/libpthread/man/pthread_exit.3 index 0bfdad6660293..9d9c730e90a3d 100644 --- a/lib/libpthread/man/pthread_exit.3 +++ b/lib/libpthread/man/pthread_exit.3 @@ -37,7 +37,7 @@ .Nm pthread_exit .Nd terminate the calling thread .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft void diff --git a/lib/libpthread/man/pthread_getspecific.3 b/lib/libpthread/man/pthread_getspecific.3 index c7a04fadb646c..515982eff77e6 100644 --- a/lib/libpthread/man/pthread_getspecific.3 +++ b/lib/libpthread/man/pthread_getspecific.3 @@ -37,7 +37,7 @@ .Nm pthread_getspecific .Nd get a thread-specific data value .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft void * diff --git a/lib/libpthread/man/pthread_join.3 b/lib/libpthread/man/pthread_join.3 index 98ae70d888ef5..005a94a30d753 100644 --- a/lib/libpthread/man/pthread_join.3 +++ b/lib/libpthread/man/pthread_join.3 @@ -37,7 +37,7 @@ .Nm pthread_join .Nd wait for thread termination .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_key_create.3 b/lib/libpthread/man/pthread_key_create.3 index 7075dcc53d8a4..81da624c84cf9 100644 --- a/lib/libpthread/man/pthread_key_create.3 +++ b/lib/libpthread/man/pthread_key_create.3 @@ -37,7 +37,7 @@ .Nm pthread_key_create .Nd thread-specific data key creation .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_key_delete.3 b/lib/libpthread/man/pthread_key_delete.3 index bc0cf8a38aad6..b71142bed0d0a 100644 --- a/lib/libpthread/man/pthread_key_delete.3 +++ b/lib/libpthread/man/pthread_key_delete.3 @@ -37,7 +37,7 @@ .Nm pthread_key_delete .Nd delete a thread-specific data key .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_kill.3 b/lib/libpthread/man/pthread_kill.3 index e46e2b26013d9..277467dc325c2 100644 --- a/lib/libpthread/man/pthread_kill.3 +++ b/lib/libpthread/man/pthread_kill.3 @@ -33,7 +33,7 @@ .Nm pthread_kill .Nd send a signal to a specified thread .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .In signal.h diff --git a/lib/libpthread/man/pthread_mutex_destroy.3 b/lib/libpthread/man/pthread_mutex_destroy.3 index 59d2b48980c5c..64b9027758949 100644 --- a/lib/libpthread/man/pthread_mutex_destroy.3 +++ b/lib/libpthread/man/pthread_mutex_destroy.3 @@ -34,7 +34,7 @@ .Nm pthread_mutex_destroy .Nd free resources allocated for a mutex .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_mutex_init.3 b/lib/libpthread/man/pthread_mutex_init.3 index c3fb60cd7a5fd..fe491d939b48a 100644 --- a/lib/libpthread/man/pthread_mutex_init.3 +++ b/lib/libpthread/man/pthread_mutex_init.3 @@ -34,7 +34,7 @@ .Nm pthread_mutex_init .Nd create a mutex .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_mutex_lock.3 b/lib/libpthread/man/pthread_mutex_lock.3 index cc35ff21f1efb..cbcfb25e80944 100644 --- a/lib/libpthread/man/pthread_mutex_lock.3 +++ b/lib/libpthread/man/pthread_mutex_lock.3 @@ -34,7 +34,7 @@ .Nm pthread_mutex_lock .Nd lock a mutex .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_mutex_trylock.3 b/lib/libpthread/man/pthread_mutex_trylock.3 index 5de24cee73c69..a5b1b6e71cf84 100644 --- a/lib/libpthread/man/pthread_mutex_trylock.3 +++ b/lib/libpthread/man/pthread_mutex_trylock.3 @@ -34,7 +34,7 @@ .Nm pthread_mutex_trylock .Nd attempt to lock a mutex without blocking .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_mutex_unlock.3 b/lib/libpthread/man/pthread_mutex_unlock.3 index f6bc4573d89bc..b9c870dd7774e 100644 --- a/lib/libpthread/man/pthread_mutex_unlock.3 +++ b/lib/libpthread/man/pthread_mutex_unlock.3 @@ -34,7 +34,7 @@ .Nm pthread_mutex_unlock .Nd unlock a mutex .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_mutexattr.3 b/lib/libpthread/man/pthread_mutexattr.3 index 7476ae16d6f6b..af80c54acb0e1 100644 --- a/lib/libpthread/man/pthread_mutexattr.3 +++ b/lib/libpthread/man/pthread_mutexattr.3 @@ -40,7 +40,7 @@ .Nm pthread_mutexattr_gettype .Nd mutex attribute operations .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_once.3 b/lib/libpthread/man/pthread_once.3 index 7ad97fe98985f..bb8abc8cf467c 100644 --- a/lib/libpthread/man/pthread_once.3 +++ b/lib/libpthread/man/pthread_once.3 @@ -37,7 +37,7 @@ .Nm pthread_once .Nd dynamic package initialization .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Pp diff --git a/lib/libpthread/man/pthread_rwlock_destroy.3 b/lib/libpthread/man/pthread_rwlock_destroy.3 index b65e0656750a8..655548501c4cd 100644 --- a/lib/libpthread/man/pthread_rwlock_destroy.3 +++ b/lib/libpthread/man/pthread_rwlock_destroy.3 @@ -31,7 +31,7 @@ .Nm pthread_rwlock_destroy .Nd destroy a read/write lock .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_rwlock_init.3 b/lib/libpthread/man/pthread_rwlock_init.3 index 0360987db1e3d..b056740d57c2e 100644 --- a/lib/libpthread/man/pthread_rwlock_init.3 +++ b/lib/libpthread/man/pthread_rwlock_init.3 @@ -31,7 +31,7 @@ .Nm pthread_rwlock_init .Nd initialize a read/write lock .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_rwlock_rdlock.3 b/lib/libpthread/man/pthread_rwlock_rdlock.3 index 88dbb17fa599a..b71369c0b6933 100644 --- a/lib/libpthread/man/pthread_rwlock_rdlock.3 +++ b/lib/libpthread/man/pthread_rwlock_rdlock.3 @@ -32,7 +32,7 @@ .Nm pthread_rwlock_tryrdlock .Nd acquire a read/write lock for reading .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_rwlock_unlock.3 b/lib/libpthread/man/pthread_rwlock_unlock.3 index 9391f75df7af0..f88897f34a5c3 100644 --- a/lib/libpthread/man/pthread_rwlock_unlock.3 +++ b/lib/libpthread/man/pthread_rwlock_unlock.3 @@ -31,7 +31,7 @@ .Nm pthread_rwlock_unlock .Nd release a read/write lock .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_rwlock_wrlock.3 b/lib/libpthread/man/pthread_rwlock_wrlock.3 index 55ab5f933468d..a73c19407994b 100644 --- a/lib/libpthread/man/pthread_rwlock_wrlock.3 +++ b/lib/libpthread/man/pthread_rwlock_wrlock.3 @@ -32,7 +32,7 @@ .Nm pthread_rwlock_trywrlock .Nd acquire a read/write lock for writing .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_rwlockattr_destroy.3 b/lib/libpthread/man/pthread_rwlockattr_destroy.3 index 3ba97cf5e12c6..b5965369f4bcf 100644 --- a/lib/libpthread/man/pthread_rwlockattr_destroy.3 +++ b/lib/libpthread/man/pthread_rwlockattr_destroy.3 @@ -31,7 +31,7 @@ .Nm pthread_rwlockattr_destroy .Nd destroy a read/write lock .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_rwlockattr_getpshared.3 b/lib/libpthread/man/pthread_rwlockattr_getpshared.3 index 56bda4409c138..ee1a20e98021c 100644 --- a/lib/libpthread/man/pthread_rwlockattr_getpshared.3 +++ b/lib/libpthread/man/pthread_rwlockattr_getpshared.3 @@ -31,7 +31,7 @@ .Nm pthread_rwlockattr_getpshared .Nd get the process shared attribute .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_rwlockattr_init.3 b/lib/libpthread/man/pthread_rwlockattr_init.3 index a4aef31fc2892..44ad18b6d25d7 100644 --- a/lib/libpthread/man/pthread_rwlockattr_init.3 +++ b/lib/libpthread/man/pthread_rwlockattr_init.3 @@ -31,7 +31,7 @@ .Nm pthread_rwlockattr_init .Nd initialize a read/write lock .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_rwlockattr_setpshared.3 b/lib/libpthread/man/pthread_rwlockattr_setpshared.3 index 48b854d21a6be..2ee7d9ec6c993 100644 --- a/lib/libpthread/man/pthread_rwlockattr_setpshared.3 +++ b/lib/libpthread/man/pthread_rwlockattr_setpshared.3 @@ -31,7 +31,7 @@ .Nm pthread_rwlockattr_setpshared .Nd set the process shared attribute .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_schedparam.3 b/lib/libpthread/man/pthread_schedparam.3 index c76f4d9033edd..831c2ca20f4ee 100644 --- a/lib/libpthread/man/pthread_schedparam.3 +++ b/lib/libpthread/man/pthread_schedparam.3 @@ -34,7 +34,7 @@ .Nm pthread_getschedparam .Nd thread scheduling parameter manipulation .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_self.3 b/lib/libpthread/man/pthread_self.3 index 899af43094f37..82ac89ee935ca 100644 --- a/lib/libpthread/man/pthread_self.3 +++ b/lib/libpthread/man/pthread_self.3 @@ -37,7 +37,7 @@ .Nm pthread_self .Nd get the calling thread's ID .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft pthread_t diff --git a/lib/libpthread/man/pthread_setspecific.3 b/lib/libpthread/man/pthread_setspecific.3 index 5bc274c6e6404..f429fa568997c 100644 --- a/lib/libpthread/man/pthread_setspecific.3 +++ b/lib/libpthread/man/pthread_setspecific.3 @@ -37,7 +37,7 @@ .Nm pthread_setspecific .Nd set a thread-specific data value .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/pthread_sigmask.3 b/lib/libpthread/man/pthread_sigmask.3 index 5efa9256b6a10..489f8541a7aa5 100644 --- a/lib/libpthread/man/pthread_sigmask.3 +++ b/lib/libpthread/man/pthread_sigmask.3 @@ -33,7 +33,7 @@ .Nm pthread_sigmask .Nd examine and/or change a thread's signal mask .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .In signal.h diff --git a/lib/libpthread/man/pthread_testcancel.3 b/lib/libpthread/man/pthread_testcancel.3 index 6467ac6f94b59..eb945e2872e4f 100644 --- a/lib/libpthread/man/pthread_testcancel.3 +++ b/lib/libpthread/man/pthread_testcancel.3 @@ -8,7 +8,7 @@ .Nm pthread_testcancel .Nd set cancelability state .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In pthread.h .Ft int diff --git a/lib/libpthread/man/sem_destroy.3 b/lib/libpthread/man/sem_destroy.3 index 8094a5323888b..0496a76baadfd 100644 --- a/lib/libpthread/man/sem_destroy.3 +++ b/lib/libpthread/man/sem_destroy.3 @@ -33,7 +33,7 @@ .Nm sem_destroy .Nd destroy an unnamed semaphore .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In semaphore.h .Ft int diff --git a/lib/libpthread/man/sem_getvalue.3 b/lib/libpthread/man/sem_getvalue.3 index d1cc3a4d3296b..115355286ade8 100644 --- a/lib/libpthread/man/sem_getvalue.3 +++ b/lib/libpthread/man/sem_getvalue.3 @@ -33,7 +33,7 @@ .Nm sem_getvalue .Nd get the value of a semaphore .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In semaphore.h .Ft int diff --git a/lib/libpthread/man/sem_init.3 b/lib/libpthread/man/sem_init.3 index fd517c224a039..8fac8d6019f1f 100644 --- a/lib/libpthread/man/sem_init.3 +++ b/lib/libpthread/man/sem_init.3 @@ -33,7 +33,7 @@ .Nm sem_init .Nd initialize an unnamed semaphore .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In semaphore.h .Ft int diff --git a/lib/libpthread/man/sem_open.3 b/lib/libpthread/man/sem_open.3 index 07c9543cec3d2..f2b766dbfefad 100644 --- a/lib/libpthread/man/sem_open.3 +++ b/lib/libpthread/man/sem_open.3 @@ -35,7 +35,7 @@ .Nm sem_unlink .Nd named semaphore operations .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In semaphore.h .Ft sem_t * diff --git a/lib/libpthread/man/sem_post.3 b/lib/libpthread/man/sem_post.3 index 71b9f43376a00..c2dd70417d94c 100644 --- a/lib/libpthread/man/sem_post.3 +++ b/lib/libpthread/man/sem_post.3 @@ -33,7 +33,7 @@ .Nm sem_post .Nd increment (unlock) a semaphore .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In semaphore.h .Ft int diff --git a/lib/libpthread/man/sem_wait.3 b/lib/libpthread/man/sem_wait.3 index c89ea04a098bb..25a0b05a3d750 100644 --- a/lib/libpthread/man/sem_wait.3 +++ b/lib/libpthread/man/sem_wait.3 @@ -34,7 +34,7 @@ .Nm sem_trywait .Nd decrement (lock) a semaphore .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In semaphore.h .Ft int diff --git a/lib/libpthread/man/sigwait.3 b/lib/libpthread/man/sigwait.3 index 76376a6d31317..24c229718b587 100644 --- a/lib/libpthread/man/sigwait.3 +++ b/lib/libpthread/man/sigwait.3 @@ -33,7 +33,7 @@ .Nm sigwait .Nd select a set of signals .Sh LIBRARY -.Lb libc_r +.Lb libpthread .Sh SYNOPSIS .In signal.h .Ft int diff --git a/lib/libpthread/test/Makefile b/lib/libpthread/test/Makefile index 0eb530c3ef148..d34e3e72c7fb8 100644 --- a/lib/libpthread/test/Makefile +++ b/lib/libpthread/test/Makefile @@ -1,7 +1,7 @@ # # $FreeBSD$ # -# Automated test suite for libc_r (pthreads). +# Automated test suite for libpthread (pthreads). # # File lists. @@ -26,7 +26,7 @@ CFLAGS := -Wall -pipe -g3 LDFLAGS_A := -static LDFLAGS_P := -pg LDFLAGS_S := -LIBS := -lc_r +LIBS := -lpthread # Flags passed to verify. "-v" or "-u" may be useful. VFLAGS := diff --git a/lib/libpthread/test/README b/lib/libpthread/test/README index 507ea4e19f74f..8f625a1438e73 100644 --- a/lib/libpthread/test/README +++ b/lib/libpthread/test/README @@ -3,10 +3,10 @@ $FreeBSD$ This test suite is meant to test general functionality of pthreads, as well as provide a simple framework for regression tests. In general, this test suite can be used with any pthreads library, but in reality there are a number of -libc_r-specific aspects to this test suite which would require some effort to -get around if testing another pthreads library. +libpthread-specific aspects to this test suite which would require some +effort to get around if testing another pthreads library. -This test suite assumes that libc_r is installed. +This test suite assumes that libpthread is installed. There are two forms of test that the 'verify' script understands. The simpler form is the diff format, where the output of the test program is diff'ed with diff --git a/lib/libpthread/test/propagate_s.pl b/lib/libpthread/test/propagate_s.pl index 9cd5fb054ae14..6b8509043d980 100755 --- a/lib/libpthread/test/propagate_s.pl +++ b/lib/libpthread/test/propagate_s.pl @@ -29,7 +29,7 @@ # ########################################################################### # -# Verify that no cancellation points are propagated inside of libc_r. +# Verify that no cancellation points are propagated inside of libpthread. # # $FreeBSD$ # |