diff options
Diffstat (limited to 'usr/src/cmd/filebench/common/threadflow.c')
-rw-r--r-- | usr/src/cmd/filebench/common/threadflow.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/src/cmd/filebench/common/threadflow.c b/usr/src/cmd/filebench/common/threadflow.c index bcbf243272..0d903cb367 100644 --- a/usr/src/cmd/filebench/common/threadflow.c +++ b/usr/src/cmd/filebench/common/threadflow.c @@ -25,8 +25,6 @@ * Portions Copyright 2008 Denis Cheng */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include "config.h" #include <pthread.h> #ifdef HAVE_LWPS @@ -426,7 +424,8 @@ threadflow_define_common(procflow_t *procflow, char *name, threadflow->tf_instance = instance; (void) strcpy(threadflow->tf_name, name); threadflow->tf_process = procflow; - (void) pthread_mutex_init(&threadflow->tf_lock, ipc_mutexattr()); + (void) pthread_mutex_init(&threadflow->tf_lock, + ipc_mutexattr(IPC_MUTEX_NORMAL)); filebench_log(LOG_DEBUG_IMPL, "Defining thread %s-%d", name, instance); |