Merge pull request #924 from waywardmonkeys/implement-sched-yield
Implement stub for sched_yield().
This commit is contained in:
Коммит
509dc21a48
|
@ -6702,6 +6702,13 @@ LibraryManager.library = {
|
|||
return 0;
|
||||
},
|
||||
|
||||
// ==========================================================================
|
||||
// sched.h (stubs only - no thread support yet!)
|
||||
// ==========================================================================
|
||||
sched_yield: function() {
|
||||
return 0;
|
||||
},
|
||||
|
||||
// ==========================================================================
|
||||
// pthread.h (stubs for mutexes only - no thread support yet!)
|
||||
// ==========================================================================
|
||||
|
|
Загрузка…
Ссылка в новой задаче