* Patch by Andreas that adds sched.h, and sched_yield() to Haiku.

* This closes ticket #2568.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26820 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-08-05 17:54:14 +00:00
parent 57f2b5a013
commit 8169e6b4e6
3 changed files with 36 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
/*
* Copyright 2008, Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT license.
*/
#ifndef _SCHED_H_
#define _SCHED_H_
#ifdef __cplusplus
extern "C" {
#endif
extern int sched_yield(void);
#ifdef __cplusplus
}
#endif
#endif /* _SCHED_H_ */