diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/os_win/os_yield.c')
-rw-r--r-- | src/third_party/wiredtiger/src/os_win/os_yield.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/os_win/os_yield.c b/src/third_party/wiredtiger/src/os_win/os_yield.c new file mode 100644 index 00000000000..970bfa139d0 --- /dev/null +++ b/src/third_party/wiredtiger/src/os_win/os_yield.c @@ -0,0 +1,18 @@ +/*- + * Copyright (c) 2008-2014 WiredTiger, Inc. + * All rights reserved. + * + * See the file LICENSE for redistribution information. + */ + +#include "wt_internal.h" + +/* + * __wt_yield -- + * Yield the thread of control. + */ +void +__wt_yield(void) +{ + SwitchToThread(); +} |