#include "mutex.h"
#include "arch/arch.h"
#include "os/os.h"
+#include "helpers.h"
void fio_mutex_remove(struct fio_mutex *mutex)
{
pthread_condattr_init(&cond);
pthread_condattr_setpshared(&cond, mflag);
- pthread_condattr_setclock(&cond, CLOCK_MONOTONIC);
pthread_cond_init(&mutex->cond, &cond);
ret = pthread_mutex_init(&mutex->lock, &attr);