NetBSD-Bugs archive

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

Re: bin/53285: Build times tripled with make/job.c 1.193



The following reply was made to PR bin/53285; it has been noted by GNATS.

From: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/53285: Build times tripled with make/job.c 1.193
Date: Sun, 13 May 2018 20:03:22 +0200

 Function Make_Run() does:
 
     while (!Lst_IsEmpty(toBeMade) || jobTokensRunning > 0) {
         Job_CatchOutput();
         (void)MakeStartJobs();
     }
 
 where Job_CatchOutput() does:
 
     do {
         nready = poll(fds + 1 - wantToken, nfds - 1 + wantToken, POLL_MSEC);
     } while (nready < 0 && errno == EINTR);
 
 with POLL_MSEC == 5000.
 
 Where is the busy waiting?
 
 --
 J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig (Germany)
 


Home | Main Index | Thread Index | Old Index