summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@mongodb.com>2016-12-05 14:55:11 -0500
committerGitHub <noreply@github.com>2016-12-05 14:55:11 -0500
commitf514d647cec430a3611d569ad8e4553bd6361a4f (patch)
treed2464a8acb119c3ee127e8ee5c59052cc1cd1779 /bench
parent853430ea86b8e29cdfa9de34606405d52384d2db (diff)
downloadmongo-f514d647cec430a3611d569ad8e4553bd6361a4f.tar.gz
WT-3053 Python and Java support use internal WiredTiger functions (#3174)
* WT-3053 Python and Java support use internal WiredTiger functions Remove calls to internal WiredTiger functions from the Java and Python APIs, meaning we no longer need to expose a few more internal WiredTiger functions. * Try using SWIGWIN instead of _MSC_VER for the swig windows #ifdef. * Another try at a Windows #ifdef in the SWIG code.
Diffstat (limited to 'bench')
-rw-r--r--bench/wtperf/idle_table_cycle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/wtperf/idle_table_cycle.c b/bench/wtperf/idle_table_cycle.c
index 13fa55e86f5..2074d057ff0 100644
--- a/bench/wtperf/idle_table_cycle.c
+++ b/bench/wtperf/idle_table_cycle.c
@@ -83,7 +83,7 @@ cycle_idle_tables(void *arg)
snprintf(uri, sizeof(uri),
"%s_cycle%07d", wtperf->uris[0], cycle_count);
/* Don't busy cycle in this loop. */
- __wt_sleep(1, 0);
+ (void)sleep(1);
/* Setup a start timer. */
__wt_epoch(NULL, &start);
@@ -126,7 +126,7 @@ cycle_idle_tables(void *arg)
*/
while ((ret = session->drop(
session, uri, "force,checkpoint_wait=false")) == EBUSY)
- __wt_sleep(1, 0);
+ (void)sleep(1);
if (ret != 0 && ret != EBUSY) {
lprintf(wtperf, ret, 0,