summaryrefslogtreecommitdiff
path: root/stat.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-03-14 08:31:37 -0700
committerBart Van Assche <bart.vanassche@wdc.com>2018-03-15 09:56:43 -0700
commit971caeb177d3bc4f65fa31381bbfb83710bfc690 (patch)
tree6db1790b74eeb37d57582689e655f313faa4546e /stat.h
parentae626d4ead6416adf464cf209cdf3e8b85d58190 (diff)
downloadfio-971caeb177d3bc4f65fa31381bbfb83710bfc690.tar.gz
fio-971caeb177d3bc4f65fa31381bbfb83710bfc690.tar.bz2
Rename fio_mutex into fio_sem
Since fio_mutex implements a semaphore, rename fio_mutex into fio_sem. Rename those fio_sem instances that have 'mutex' embedded in their name. Rename the mutex.h and .c source files into fio_sem.h and .c respectively. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stat.h b/stat.h
index 7580f0d6..8e7bcdb2 100644
--- a/stat.h
+++ b/stat.h
@@ -277,7 +277,7 @@ struct io_u_plat_entry {
uint64_t io_u_plat[FIO_IO_U_PLAT_NR];
};
-extern struct fio_mutex *stat_mutex;
+extern struct fio_sem *stat_sem;
extern struct jobs_eta *get_jobs_eta(bool force, size_t *size);