Move all (nano|u)sleep-related decisions to default port implementation (#2462)

... where they belong.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2018-08-11 00:06:25 +02:00
committed by GitHub
parent fb35e34801
commit 29e7330b9b
6 changed files with 17 additions and 24 deletions
+1 -2
View File
@@ -261,8 +261,7 @@ jerry_debugger_transport_receive_completed (jerry_debugger_transport_receive_con
} /* jerry_debugger_transport_receive_completed */
/**
* Suspend execution for a given time.
* Note: If the platform does not have nanosleep or usleep, this function does not sleep at all.
* Suspend execution for a predefined time (JERRY_DEBUGGER_TRANSPORT_TIMEOUT ms).
*/
void
jerry_debugger_transport_sleep (void)