[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/19233] New: Add a --timeout <time-in-second> argument to abidiff



https://sourceware.org/bugzilla/show_bug.cgi?id=19233

            Bug ID: 19233
           Summary: Add a --timeout <time-in-second> argument to abidiff
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: default
          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.