[LTP] [PATCH v2] rt_sigqueueinfo02: Add negative tests for rt_sigqueueinfo
Cyril Hrubis
chrubis@suse.cz
Fri Oct 4 17:19:59 CEST 2024
Hi!
> +static void child_do(void)
> +{
> + TST_CHECKPOINT_WAKE(0);
> + TST_CHECKPOINT_WAIT(1);
This still has the wake/wait pair in here. Why?
As I said preivously I do not see why the child needs to signal the
parent if all the parent needs is the child to exist.
So the child can just wait here for the parent to wake it up.
Or we do not have to use the checkpoints at all, the child can just do
pause(); and parent can kill() it once it's done.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list