Rename fio_mutex into fio_sem
[fio.git] / 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 */
 };
 
 /*
 };
 
 /*