From 1d767442294df64b9746f02cd6fcf320da257b1f Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 25 Nov 2012 00:05:21 +0100 Subject: 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. --- libnetfs/fsys-get-options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libnetfs/fsys-get-options.c') diff --git a/libnetfs/fsys-get-options.c b/libnetfs/fsys-get-options.c index fa045eff..54bd9a00 100644 --- a/libnetfs/fsys-get-options.c +++ b/libnetfs/fsys-get-options.c @@ -49,11 +49,11 @@ netfs_S_fsys_get_options (fsys_t fsys, if (! err) { #if NOT_YET - rwlock_reader_lock (&netfs_fsys_lock); + pthread_rwlock_rdlock (&netfs_fsys_lock); #endif err = netfs_append_args (&argz, &argz_len); #if NOT_YET - rwlock_reader_unlock (&netfs_fsys_lock); + pthread_rwlock_unlock (&netfs_fsys_lock); #endif } -- cgit v1.2.3