blob: 9f8eafec903ac41fffea3a9f368f251177724bd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*-
* Copyright (c) 2014-2015 MongoDB, Inc.
* Copyright (c) 2008-2014 WiredTiger, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
#include "wt_internal.h"
/*
* __wt_sleep --
* Pause the thread of control.
*/
void
__wt_sleep(long seconds, long micro_seconds)
{
Sleep(seconds * 1000 + micro_seconds / 1000);
}
|