summaryrefslogtreecommitdiff
path: root/src/os_posix/os_yield.c
blob: 6c7c7de39187cec1783e16cf5fd1b78f78b665f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*-
 * Copyright (c) 2008-2012 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)
{
	sched_yield();
}