commit | 09f17d62b3bcade70bca6c8660a6a2cb75ab0ca2 | [log] [tgz] |
---|---|---|
author | Bruce Cran <bruce@cran.org.uk> | Fri Mar 29 16:17:25 2013 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Mar 29 10:38:08 2013 -0600 |
tree | 11bd889b2f08b42ce1a8c06a3207d780adbd9bf3 | |
parent | cdb57fe2e6ab3418e0e137282be46201b1f5acc0 [diff] |
Workaround pthreads-win32 pthread_rwlock_init limitation. On Windows, pthreads-win32 returns EINVAL if you specify an attribute when calling pthread_rwlock_init. Work around this by only specifying the attribute when FIO_HAVE_PSHARED_MUTEX is defined. Signed-off-by: Jens Axboe <axboe@kernel.dk>