bug-make
[Top][All Lists]
Advanced

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

[bug #53152] Intermittent timeout running regression test features/outpu


From: Michael Olbrich
Subject: [bug #53152] Intermittent timeout running regression test features/output_sync
Date: Sun, 7 Jul 2019 11:16:46 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #3, bug #53152 (project make):

I think the problem is the outer loop in update_goal_chain():

- All goals are handle once per loop iteration.
- At the beginning of each iteration at least on child is reaped (if any
exist)

What happens is this:
First iteration:
- job for 'bar' is started
- child for 'bar' is reaped
- job for 'baz' is started
Second iteration:
- reap_children() waits forever for a child to finish

I think, reap_children() should only wait if no new action can be taken. I'm
not sure if that information is available. Maybe 'nothing changed' in the last
iteration (accumulating 'g->changed') is a good approximation?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?53152>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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