Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
Diff: platform/mbed_poll.cpp
- Revision:
- 176:447f873cad2f
- Parent:
- 167:e84263d55307
diff -r af195413fb11 -r 447f873cad2f platform/mbed_poll.cpp
--- a/platform/mbed_poll.cpp Wed Oct 11 12:45:49 2017 +0100
+++ b/platform/mbed_poll.cpp Wed Oct 25 14:53:38 2017 +0100
@@ -66,7 +66,7 @@
#ifdef MBED_CONF_RTOS_PRESENT
// TODO - proper blocking
// wait for condition variable, wait queue whatever here
- rtos::Thread::yield();
+ rtos::Thread::wait(1);
#endif
}
return count;
