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 /pattern.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 'pattern.h')
-rw-r--r-- | pattern.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,7 +22,7 @@ #ifndef _PATTERN_H #define _PATTERN_H -#include <hurd/netfs.h> /* For mutex stuff. */ +#include <pthread.h> struct pattern { @@ -33,7 +33,7 @@ struct pattern struct patternlist { - struct mutex lock; + pthread_mutex_t lock; struct pattern *head; }; |