pty: pause() instead of sleep for long time

This commit is contained in:
Matias Nitsche 2020-06-15 12:26:21 -03:00 committed by Abdelatif Guettouche
parent 853439f0e7
commit b888f5f5e6

View File

@ -394,7 +394,7 @@ int main(int argc, FAR char *argv[])
{ {
/* Nothing to do, then sleep to avoid eating all cpu time */ /* Nothing to do, then sleep to avoid eating all cpu time */
usleep(10000); pause();
} }
return EXIT_SUCCESS; return EXIT_SUCCESS;