xref: /haiku/src/system/libroot/posix/scheduler.cpp (revision 746cac055adc6ac3308c7bc2d29040fb95689cc9)
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