Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make Just skip polling job token pipe.
details: https://anonhg.NetBSD.org/src/rev/79d3739cafd7
branches: trunk
changeset: 361819:79d3739cafd7
user: sjg <sjg%NetBSD.org@localhost>
date: Sun May 13 22:13:28 2018 +0000
description:
Just skip polling job token pipe.
The sigchld pipe ensures no busy wait.
PR: 53285
Reviewed by:
diffstat:
usr.bin/make/job.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r d2a5b1640554 -r 79d3739cafd7 usr.bin/make/job.c
--- a/usr.bin/make/job.c Sun May 13 18:52:00 2018 +0000
+++ b/usr.bin/make/job.c Sun May 13 22:13:28 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: job.c,v 1.194 2018/05/13 12:10:36 christos Exp $ */
+/* $NetBSD: job.c,v 1.195 2018/05/13 22:13:28 sjg Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -70,14 +70,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: job.c,v 1.194 2018/05/13 12:10:36 christos Exp $";
+static char rcsid[] = "$NetBSD: job.c,v 1.195 2018/05/13 22:13:28 sjg Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: job.c,v 1.194 2018/05/13 12:10:36 christos Exp $");
+__RCSID("$NetBSD: job.c,v 1.195 2018/05/13 22:13:28 sjg Exp $");
#endif
#endif /* not lint */
#endif
@@ -2950,7 +2950,6 @@
}
if (DEBUG(JOB))
fprintf(debug_file, "(%d) blocked for token\n", getpid());
- wantToken = 1;
return FALSE;
}
Home |
Main Index |
Thread Index |
Old Index