diff options
author | Pino Toscano <toscano.pino@tiscali.i> | 2013-03-14 17:32:04 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-03-15 02:17:51 +0100 |
commit | 2961fbd036c40e8390b4af3b6f7d570d6945c86c (patch) | |
tree | 1e5e6ed1ddca29f240e3e6374d12e7703521da97 /ncache.h | |
parent | 64dfa4e12d93c13b676d1cd7d86f4f4004ebfafa (diff) |
Switch from cthreads to pthreads
Makefiles, headers, types, macros and function calls are renamed where
appropriate.
* Makefile: Switch from cthreads to pthreads.
* lib.c: Likewise.
* lib.h: Likewise.
* lnode.c: Likewise.
* lnode.h: Likewise.
* ncache.c: Likewise.
* ncache.h: Likewise.
* netfs.c: Likewise.
* node.c: Likewise.
* options.c: Likewise.
* pattern.c: Likewise.
* pattern.h: Likewise.
* stow.c: Likewise.
* ulfs.c: Likewise.
* ulfs.h: Likewise.
* update.c: Likewise.
Diffstat (limited to 'ncache.h')
-rw-r--r-- | ncache.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -21,7 +21,7 @@ #define INCLUDED_NCACHE_H #include <error.h> -#include <hurd/netfs.h> +#include <pthread.h> #include "node.h" @@ -35,7 +35,7 @@ typedef struct ncache cache. */ int size_current; /* Current number of nodes in the cache. */ - struct mutex lock; /* A lock. */ + pthread_mutex_t lock; /* A lock. */ } ncache_t; /* Cache size, may be overwritten by the user. */ |