summaryrefslogtreecommitdiff
path: root/usr/src/cmd/filebench/common/ipc.c
diff options
context:
space:
mode:
authoraw148015 <none@none>2008-05-23 10:59:13 -0700
committeraw148015 <none@none>2008-05-23 10:59:13 -0700
commitda396009ff06eab8fbdbeb4290e565bb8486d9d3 (patch)
treee2a2402863fff03ff9b8bb402c8469eb68266ea6 /usr/src/cmd/filebench/common/ipc.c
parentee60c47b212c3bbaab93900abaf5b7921bb3cb3d (diff)
downloadillumos-joyent-da396009ff06eab8fbdbeb4290e565bb8486d9d3.tar.gz
6680475 Request for per flowop byte limit
6698807 Filebench Shutdown still takes too long with multiple threads 6702350 Filebench Hangs while shutting down on x86 when running oltp.f
Diffstat (limited to 'usr/src/cmd/filebench/common/ipc.c')
-rw-r--r--usr/src/cmd/filebench/common/ipc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/cmd/filebench/common/ipc.c b/usr/src/cmd/filebench/common/ipc.c
index e7593787b8..577bda7eec 100644
--- a/usr/src/cmd/filebench/common/ipc.c
+++ b/usr/src/cmd/filebench/common/ipc.c
@@ -336,6 +336,8 @@ ipc_init(void)
ipc_mutexattr());
(void) pthread_mutex_init(&filebench_shm->shm_procflow_lock,
ipc_mutexattr());
+ (void) pthread_mutex_init(&filebench_shm->shm_procs_running_lock,
+ ipc_mutexattr());
(void) pthread_mutex_init(&filebench_shm->shm_threadflow_lock,
ipc_mutexattr());
(void) pthread_mutex_init(&filebench_shm->shm_flowop_lock,