X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=server.h;fp=server.h;h=d652d31cf8992b5233b21fad77765a2e13426ece;hp=bd892fcc1ad6b02c70a35569435f1d5b5484cba4;hb=971caeb177d3bc4f65fa31381bbfb83710bfc690;hpb=ae626d4ead6416adf464cf209cdf3e8b85d58190 diff --git a/server.h b/server.h index bd892fcc..d652d31c 100644 --- 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 */ - 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 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 */ }; /*