Split mutex.c and .h each into three files
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 14 Mar 2018 15:26:15 +0000 (08:26 -0700)
committerBart Van Assche <bart.vanassche@wdc.com>
Thu, 15 Mar 2018 16:54:43 +0000 (09:54 -0700)
commitae626d4ead6416adf464cf209cdf3e8b85d58190
treefcb28a72a7ed2d29a432e9aa386e949fa9041b86
parent69b98f11d62cb12482130fac79b8ebf00c0bb139
Split mutex.c and .h each into three files

Create separate header and source files for the struct fio_mutex
functions, for the struct fio_rwlock functions and for the helper
functions for initializing process shared mutexes and condition
variables. Replace an #include directive by a forward declaration
in fio.h. Minimize the #include directives in mutex.c, rwlock.c
and pshared.c. This patch does not change any functionality.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
14 files changed:
Makefile
backend.c
diskutil.h
filesetup.c
fio.h
helper_thread.c
iolog.c
mutex.c
mutex.h
pshared.c [new file with mode: 0644]
pshared.h [new file with mode: 0644]
rwlock.c [new file with mode: 0644]
rwlock.h [new file with mode: 0644]
workqueue.c