[Bug default/19233] New: Add a --timeout <time-in-second> argument to abidiff
dodji at redhat dot com
Thu Jan 1 00:00:00 GMT 2015
Bug ID: 19233
Summary: Add a --timeout <time-in-second> argument to abidiff
Assignee: dodji at redhat dot com
Reporter: dodji at redhat dot com
CC: libabigail at sourceware dot org
Target Milestone: ---
To shield programs that call abidiff against runs that could possibly take too
much time, a --timeout option would be appropriate.
That option would take an argument N in seconds.
If abidiff does not complete before N seconds, its execution would be aborted
and a message would be emitted on the standard error output, saying that the
execution has been aborted because it could not be performed within N seconds.
One possible way to implement this could be by using a combination of fork,
exec, waitpid, alarm an kill system calls.
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libabigail