diff options
author | jkim <jkim@FreeBSD.org> | 2011-02-07 21:26:46 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2011-02-07 21:26:46 +0000 |
commit | 365538a229a5a42c6c4aed58dcfbc8e8228a66df (patch) | |
tree | d3de8dc8a5660a541622ab9f21ef998d3f86dfa0 /lib/libthr/pthread.map | |
parent | d8708af48420e2edefa6527dd71ac07b1c5353eb (diff) | |
download | FreeBSD-src-365538a229a5a42c6c4aed58dcfbc8e8228a66df.zip FreeBSD-src-365538a229a5a42c6c4aed58dcfbc8e8228a66df.tar.gz |
Introduce a non-portable function pthread_getthreadid_np(3) to retrieve
calling thread's unique integral ID, which is similar to AIX function of
the same name. Bump __FreeBSD_version to note its introduction.
Reviewed by: kib
Diffstat (limited to 'lib/libthr/pthread.map')
-rw-r--r-- | lib/libthr/pthread.map | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libthr/pthread.map b/lib/libthr/pthread.map index 9f82a1b..355edea 100644 --- a/lib/libthr/pthread.map +++ b/lib/libthr/pthread.map @@ -272,6 +272,7 @@ FBSDprivate_1.0 { _pthread_getprio; _pthread_getschedparam; _pthread_getspecific; + _pthread_getthreadid_np; _pthread_join; _pthread_key_create; _pthread_key_delete; @@ -403,6 +404,7 @@ FBSD_1.1 { FBSD_1.2 { openat; + pthread_getthreadid_np; setcontext; swapcontext; }; |