Commit [cb80f4] Maximize Restore History

tst_checkpoint_signal_child: implemented timeout

If a child exits before opening TST_CHECKPOINT_FIFO
for reading, tst_checkpoint_signal_child() issued from the parent
will block forever.

To handle such situations added timeout logic to tst_checkpoint_signal_child();

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Reviewed-by: Jan Stancek <jstancek@redhat.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>

Stanislav Kholmanskikh Stanislav Kholmanskikh 2013-11-14

Cyril Hrubis Cyril Hrubis 2013-11-14

changed lib
changed lib/tst_checkpoint.c
lib
Directory.
lib/tst_checkpoint.c Diff Switch to side-by-side view
Loading...