summaryrefslogtreecommitdiffstats
path: root/lib/libthr/pthread.map
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2006-07-25 12:50:05 +0000
committerdavidxu <davidxu@FreeBSD.org>2006-07-25 12:50:05 +0000
commit5193e44c401f0c7a1515d53af97010ad4ec2a5b8 (patch)
tree5eb31066f178b759e506dc95bf97386c1c313268 /lib/libthr/pthread.map
parent1d7baed662871fe02edda1864616b8b379cb924d (diff)
downloadFreeBSD-src-5193e44c401f0c7a1515d53af97010ad4ec2a5b8.zip
FreeBSD-src-5193e44c401f0c7a1515d53af97010ad4ec2a5b8.tar.gz
1. Don't override underscore version of aio_suspend(), system(),
wait(), waitpid() and usleep(), they are internal versions and should not be cancellation points. 2. Make wait3() as a cancellation point. 3. Move raise() and pause() into file thr_sig.c. 4. Add functions _sigsuspend, _sigwait, _sigtimedwait and _sigwaitinfo, remove SIGCANCEL bit in wait-set for those functions, the signal is used internally to implement thread cancellation.
Diffstat (limited to 'lib/libthr/pthread.map')
-rw-r--r--lib/libthr/pthread.map44
1 files changed, 22 insertions, 22 deletions
diff --git a/lib/libthr/pthread.map b/lib/libthr/pthread.map
index 66ebf44..1d6f508 100644
--- a/lib/libthr/pthread.map
+++ b/lib/libthr/pthread.map
@@ -2,7 +2,16 @@
LIBTHREAD_1_0 {
global:
___creat;
+ ___pause;
+ ___pselect;
+ ___sleep;
+ ___system;
+ ___tcdrain;
+ ___usleep;
+ ___wait;
+ ___waitpid;
__accept;
+ __aio_suspend;
__close;
__connect;
__error;
@@ -29,15 +38,11 @@ global:
__sigtimedwait;
__sigwait;
__sigwaitinfo;
+ __wait3;
__wait4;
__write;
__writev;
- _aio_suspend;
- _execve;
_fork;
- _nanosleep;
- _pause;
- _pselect;
_pthread_atfork;
_pthread_barrier_destroy;
_pthread_barrier_init;
@@ -169,16 +174,10 @@ global:
_sigtimedwait;
_sigwait;
_sigwaitinfo;
- _sleep;
_spinlock;
_spinlock_debug;
_spinunlock;
- _system;
- _tcdrain;
- _usleep;
_vfork;
- _wait;
- _waitpid;
accept;
aio_suspend;
close;
@@ -338,6 +337,7 @@ global:
usleep;
vfork;
wait;
+ wait3;
wait4;
waitpid;
write;
@@ -538,6 +538,7 @@ global:
usleep;
vfork;
wait;
+ wait3;
wait4;
waitpid;
write;
@@ -553,7 +554,16 @@ local:
FBSDprivate {
global:
___creat;
+ ___pause;
+ ___pselect;
+ ___sleep;
+ ___system;
+ ___tcdrain;
+ ___usleep;
+ ___wait;
+ ___waitpid;
__accept;
+ __aio_suspend;
__close;
__connect;
__fcntl;
@@ -579,15 +589,11 @@ global:
__sigtimedwait;
__sigwait;
__sigwaitinfo;
+ __wait3;
__wait4;
__write;
__writev;
- _aio_suspend;
- _execve;
_fork;
- _nanosleep;
- _pause;
- _pselect;
_pthread_atfork;
_pthread_barrier_destroy;
_pthread_barrier_init;
@@ -719,16 +725,10 @@ global:
_sigtimedwait;
_sigwait;
_sigwaitinfo;
- _sleep;
_spinlock;
_spinlock_debug;
_spinunlock;
- _system;
- _tcdrain;
- _usleep;
_vfork;
- _wait;
- _waitpid;
# Debugger needs these.
_libthr_debug;
OpenPOWER on IntegriCloud