octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #52084] pause() fails after an async system ca


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #52084] pause() fails after an async system call
Date: Fri, 22 Sep 2017 02:00:06 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #52084 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #2:

See bug #37591 for the problem of Octave not reaping child processes with
system(..."async").

I suspect this is as simple as the nanosleep function is being interrupted by
the SIGCHLD that is sent when a child process exits. There needs to be some
logic in place if nanosleep returns early and still has some sleeping to do,
if the signal is safe to ignore, the caller should call nanosleep again with
the time remaining.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52084>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]