diff options
author | Tor Egge <tegge@FreeBSD.org> | 2003-03-27 01:29:24 +0000 |
---|---|---|
committer | Tor Egge <tegge@FreeBSD.org> | 2003-03-27 01:29:24 +0000 |
commit | 26bc6153e3a09dd8dab9521d068c88341910d8c8 (patch) | |
tree | 7ebb1f048835086f1e518068557e8e14620ff03d | |
parent | Update to version 1.22 (diff) |
Add _spinunlock() to keep up with libc change in 5.0-CURRENT.
Notes
Notes:
svn path=/head/; revision=77504
-rw-r--r-- | devel/linuxthreads/Makefile | 2 | ||||
-rw-r--r-- | devel/linuxthreads/files/libc_thread.c | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/devel/linuxthreads/Makefile b/devel/linuxthreads/Makefile index 72a50bf863c7..ff55a6e57b3e 100644 --- a/devel/linuxthreads/Makefile +++ b/devel/linuxthreads/Makefile @@ -7,7 +7,7 @@ PORTNAME= linuxthreads PORTVERSION= 2.2.3 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= glibc diff --git a/devel/linuxthreads/files/libc_thread.c b/devel/linuxthreads/files/libc_thread.c index b58de1990a91..ada205fd2858 100644 --- a/devel/linuxthreads/files/libc_thread.c +++ b/devel/linuxthreads/files/libc_thread.c @@ -102,6 +102,12 @@ void _spinlock (int * spinlock) __pthread_acquire(spinlock); } + +void _spinunlock(int *spinlock) +{ + *spinlock = 0; +} + void * lock_create (void *context) { pthread_rwlock_t *lock; |