pty: pause() instead of sleep for long time
This commit is contained in:
parent
853439f0e7
commit
b888f5f5e6
@ -394,7 +394,7 @@ int main(int argc, FAR char *argv[])
|
||||
{
|
||||
/* Nothing to do, then sleep to avoid eating all cpu time */
|
||||
|
||||
usleep(10000);
|
||||
pause();
|
||||
}
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user