patchmake - Patches: patch #4565, Patch for interrupted system calls...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #4565: Patch for interrupted system calls - bug 14853

Submitter:  None
Submitted:  Fri 28 Oct 2005 05:37:49 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed Fixed Release:  None

Mon 19 Jul 2010 12:15:07 AM UTC, comment #2: 

No patch provided here for review.

Paul D. Smith <psmith>
Group administrator
Wed 11 Oct 2006 01:36:47 PM UTC, comment #1: 

I would like to try this patch (see my comment regarding gnu make bug #14853, but the file is not attached to this patch entry!

Steve; do you still have a copy of this?

Andrew Walrond <awalrond>
Fri 28 Oct 2005 05:37:49 PM UTC, original submission:  

I have also implemented a workaround.

I disabled the SIG_CHLD in main.c so that make receives no interrupts.

The job server (job.c) works as normal, except when there are no tokens left. When there are no tokens left, make sleeps for 100mS, then retries for a token. It keeps doing this until it gets a token.

The existing code already cleans up the children, so no new code was required to handle the reaping of child processes.

I have been using this version of make to build gdb, gcc, ACE plus our application. One side effect was that applications I have never been able to successfully build in parallel now build - for example gcc.

If you are interested I have attached a patch. I also added an option to configure (--enable-job-poll) to turn the feature on. (The change was made in configure.in, the patch includes updates to configure and Makefile.in).

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-19 psmith Open/ClosedOpen Closed
    2010-07-19 psmith StatusNone Invalid
    2005-10-28 None Carbon-Copy- Added steve --AT-- telxio --DOT-- com

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code