diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2016-01-22 16:24:05 +1100 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2016-01-22 16:24:05 +1100 |
commit | 494022b3de6710136e72e9d292d58f1f33f57650 (patch) | |
tree | ea89f49fe59f4b0c67f091e7c083b2e186d52a80 /bench/wtperf/wtperf.h | |
parent | b3c476ccdd30aeb1a9dea27a68b7a2dd528944b9 (diff) | |
download | mongo-494022b3de6710136e72e9d292d58f1f33f57650.tar.gz |
Fixup more compiler warnings.
Don't attempt to statically initialize a pthread_t
Diffstat (limited to 'bench/wtperf/wtperf.h')
-rw-r--r-- | bench/wtperf/wtperf.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bench/wtperf/wtperf.h b/bench/wtperf/wtperf.h index 28d359dd8ef..7dbe1822a26 100644 --- a/bench/wtperf/wtperf.h +++ b/bench/wtperf/wtperf.h @@ -187,7 +187,6 @@ struct __config { /* Configuration structure */ volatile int stop; /* notify threads to stop */ volatile int in_warmup; /* Running warmup phase */ - pthread_t idle_table_cycle_thread; /* Thread ID of idle cycle thread */ volatile bool idle_cycle_run; /* Signal for idle cycle thread */ volatile uint32_t totalsec; /* total seconds running */ @@ -306,8 +305,8 @@ int run_truncate( int setup_log_file(CONFIG *); int setup_throttle(CONFIG_THREAD*); int setup_truncate(CONFIG *, CONFIG_THREAD *, WT_SESSION *); -int start_idle_table_cycle(CONFIG *); -int stop_idle_table_cycle(CONFIG *); +int start_idle_table_cycle(CONFIG *, pthread_t *); +int stop_idle_table_cycle(CONFIG *, pthread_t); uint64_t sum_ckpt_ops(CONFIG *); uint64_t sum_insert_ops(CONFIG *); uint64_t sum_pop_ops(CONFIG *); |