summaryrefslogtreecommitdiff
path: root/nfsd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-11-25 00:05:21 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-11-27 23:00:09 +0100
commit1d767442294df64b9746f02cd6fcf320da257b1f (patch)
tree545058ea2a191721820a41b5c8b6101bc1f65064 /nfsd
parent1de0643c9218db536f5b2e294bbfa653c77438e4 (diff)
Complete switch from cthreads to pthreads
* console/input.c: Switch comment from cthreads to pthreads. * libnetfs/file-get-fs-options.c: Likewise * libnetfs/fsys-get-options.c: Likewise * libnetfs/fsys-set-options.c: Likewise * libnetfs/shutdown.c: Likewise * libpager/lock-object.c: Likewise * nfsd/cache.c: Set back replycachelock as static variable. * term/hurdio.c: Use pthread_hurd_cond_wait_np instead of pthread_cond_wait.
Diffstat (limited to 'nfsd')
-rw-r--r--nfsd/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfsd/cache.c b/nfsd/cache.c
index 060cc738..5b94e71d 100644
--- a/nfsd/cache.c
+++ b/nfsd/cache.c
@@ -465,7 +465,7 @@ create_cached_handle (int fs, struct cache_handle *credc, file_t userport)
static struct cached_reply *replyhashtable [REPLYHASH_TABLE_SIZE];
-pthread_spinlock_t replycachelock = PTHREAD_SPINLOCK_INITIALIZER;
+static pthread_spinlock_t replycachelock = PTHREAD_SPINLOCK_INITIALIZER;
static int nfreereplies;
static int leastreplylastuse;