diff options
author | Tor Egge <tegge@FreeBSD.org> | 2001-06-14 01:34:18 +0000 |
---|---|---|
committer | Tor Egge <tegge@FreeBSD.org> | 2001-06-14 01:34:18 +0000 |
commit | 71819868ea9bb5fb601dcd2785d1837d16e81455 (patch) | |
tree | c41f1dbe724a2d5959306111e2e4a5e206e2d042 /devel/linuxthreads/files/wraputhread.c | |
parent | Upgrade to 2.7.35 beta (diff) |
Update from version 2.1.3 to 2.2.3 of LinuxThreads.
Notes
Notes:
svn path=/head/; revision=43965
Diffstat (limited to 'devel/linuxthreads/files/wraputhread.c')
-rw-r--r-- | devel/linuxthreads/files/wraputhread.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/linuxthreads/files/wraputhread.c b/devel/linuxthreads/files/wraputhread.c index 7898d49ceb6f..8f1dafd987ae 100644 --- a/devel/linuxthreads/files/wraputhread.c +++ b/devel/linuxthreads/files/wraputhread.c @@ -23,13 +23,21 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: /tmp/pcvs/ports/devel/linuxthreads/files/wraputhread.c,v 1.1 2001-02-20 00:34:57 tegge Exp $ + * $FreeBSD: /tmp/pcvs/ports/devel/linuxthreads/files/wraputhread.c,v 1.2 2001-06-14 01:34:18 tegge Exp $ */ #include <pthread.h> #include <stdlib.h> #include <sys/errno.h> +void *__pthread_getspecific(pthread_key_t); +int __pthread_setspecific(pthread_key_t, const void *); +int __pthread_key_create(pthread_key_t *, void (*) (void *)); +int __pthread_mutex_destroy(pthread_mutex_t *); +int __pthread_mutex_init(pthread_mutex_t *, const pthread_mutexattr_t *); +int __pthread_mutex_lock(pthread_mutex_t *); +int __pthread_mutex_trylock(pthread_mutex_t *); +int __pthread_mutex_unlock(pthread_mutex_t *); void * _pthread_getspecific(pthread_key_t key) |