Module Name:    src
Committed By:   sjg
Date:           Sun May 13 22:13:28 UTC 2018

Modified Files:
        src/usr.bin/make: job.c

Log Message:
Just skip polling job token pipe.

The sigchld pipe ensures no busy wait.

PR: 53285
Reviewed by:


To generate a diff of this commit:
cvs rdiff -u -r1.194 -r1.195 src/usr.bin/make/job.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/job.c
diff -u src/usr.bin/make/job.c:1.194 src/usr.bin/make/job.c:1.195
--- src/usr.bin/make/job.c:1.194	Sun May 13 12:10:36 2018
+++ src/usr.bin/make/job.c	Sun May 13 22:13:28 2018
@@ -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 @@ Job_TokenWithdraw(void)
 	}
 	if (DEBUG(JOB))
 	    fprintf(debug_file, "(%d) blocked for token\n", getpid());
-	wantToken = 1;
 	return FALSE;
     }
 

Reply via email to