projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename fio_mutex into fio_sem
[fio.git]
/
server.h
diff --git
a/server.h
b/server.h
index bd892fcc1ad6b02c70a35569435f1d5b5484cba4..d652d31cf8992b5233b21fad77765a2e13426ece 100644
(file)
--- a/
server.h
+++ b/
server.h
@@
-17,10
+17,10
@@
struct sk_out {
* protected by below ->lock */
int sk; /* socket fd to talk to client */
* protected by below ->lock */
int sk; /* socket fd to talk to client */
- struct fio_
mutex lock;
/* protects ref and below list */
+ struct fio_
sem lock;
/* protects ref and below list */
struct flist_head list; /* list of pending transmit work */
struct flist_head list; /* list of pending transmit work */
- struct fio_
mutex wait;
/* wake backend when items added to list */
- struct fio_
mutex xmit;
/* held while sending data */
+ struct fio_
sem wait;
/* wake backend when items added to list */
+ struct fio_
sem xmit;
/* held while sending data */
};
/*
};
/*