xref: /haiku/src/system/libroot/posix/scheduler.cpp (revision 4f2fd49bdc6078128b1391191e4edac647044c3d)
1 /*
2  * Copyright 2008, Andreas Färber, andreas.faerber@web.de
3  * Distributed under the terms of the MIT license.
4  */
5 
6 #include <sched.h>
7 
8 #include <syscalls.h>
9 
10 
11 int
12 sched_yield(void)
13 {
14 	_kern_thread_yield();
15 	return 0;
16 }
17 
18