[LTP] [PATCH V3] controllers/pids: Add new testcases
Cyril Hrubis
chrubis@suse.cz
Wed Nov 25 11:47:47 CET 2015
Hi!
> > Is it necessary to add a busy loop to completely load CPU? If we only
> > wait, I would add a sleep, something like
> >
> > while (1)
> > usleep(10);
> >
>
> You are absolutely right, it is not needed at all to completely load CPU.
> Maybe it would also be better to use sleep rather than usleep.
Or we can call pause(2) which will block the process until signal
arrives.
--
Cyril Hrubis
chrubis@suse.cz
More information about the Ltp
mailing list