diff options
author | root <root> | 2010-03-31 00:46:18 +0000 |
---|---|---|
committer | root <root> | 2010-03-31 00:46:18 +0000 |
commit | ba4bef26a0943bcef3f8b3adcbb18a7d563d881b (patch) | |
tree | 131a5421da3b645c20da383393dcbd8c2357b3db /eio.c | |
parent | b04db3559062626b5764e4360866fc4d403c6631 (diff) |
3.65rel-3_65
Diffstat (limited to 'eio.c')
-rw-r--r-- | eio.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -224,10 +224,10 @@ static volatile unsigned int nready; /* reqlock */ static volatile unsigned int npending; /* reqlock */ static volatile unsigned int max_idle = 4; -static mutex_t wrklock = X_MUTEX_INIT; -static mutex_t reslock = X_MUTEX_INIT; -static mutex_t reqlock = X_MUTEX_INIT; -static cond_t reqwait = X_COND_INIT; +static xmutex_t wrklock = X_MUTEX_INIT; +static xmutex_t reslock = X_MUTEX_INIT; +static xmutex_t reqlock = X_MUTEX_INIT; +static xcond_t reqwait = X_COND_INIT; #if !HAVE_PREADWRITE /* @@ -235,7 +235,7 @@ static cond_t reqwait = X_COND_INIT; * normal read/write by using a mutex. slows down execution a lot, * but that's your problem, not mine. */ -static mutex_t preadwritelock = X_MUTEX_INIT; +static xmutex_t preadwritelock = X_MUTEX_INIT; #endif typedef struct etp_worker @@ -243,7 +243,7 @@ typedef struct etp_worker /* locked by wrklock */ struct etp_worker *prev, *next; - thread_t tid; + xthread_t tid; /* locked by reslock, reqlock or wrklock */ ETP_REQ *req; /* currently processed request */ |