summaryrefslogtreecommitdiffstats
path: root/lib/libthr/pthread.map
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2010-08-24 09:57:06 +0000
committerdavidxu <davidxu@FreeBSD.org>2010-08-24 09:57:06 +0000
commit14556ea4793fe097c15c7c0c773de11d1a17f153 (patch)
treeff0cb0e2451250239015c5c3eb2814aacac94b03 /lib/libthr/pthread.map
parent284fdd96030832dd4e95f60282ea14b186a254a0 (diff)
downloadFreeBSD-src-14556ea4793fe097c15c7c0c773de11d1a17f153.zip
FreeBSD-src-14556ea4793fe097c15c7c0c773de11d1a17f153.tar.gz
Add wrapper for setcontext() and swapcontext(), the wrappers
unblock SIGCANCEL which is needed by thread cancellation.
Diffstat (limited to 'lib/libthr/pthread.map')
-rw-r--r--lib/libthr/pthread.map4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libthr/pthread.map b/lib/libthr/pthread.map
index 8457996..4eebb62 100644
--- a/lib/libthr/pthread.map
+++ b/lib/libthr/pthread.map
@@ -342,6 +342,7 @@ FBSDprivate_1.0 {
_pthread_timedjoin_np;
_pthread_yield;
_raise;
+ _setcontext;
_sigaction;
_sigprocmask;
_sigsuspend;
@@ -351,6 +352,7 @@ FBSDprivate_1.0 {
_spinlock;
_spinlock_debug;
_spinunlock;
+ _swapcontext;
/* Debugger needs these. */
_libthr_debug;
@@ -397,4 +399,6 @@ FBSD_1.1 {
FBSD_1.2 {
openat;
+ setcontext;
+ swapcontext;
};
OpenPOWER on IntegriCloud