summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/job.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-04 20:30:03 +0000
committerphk <phk@FreeBSD.org>2002-10-04 20:30:03 +0000
commit16827939fabe12f22c5b06ee3fdf29f6c10b1de2 (patch)
tree98ed9d47d1a398a3c149f0b83a5ffbf247e2fe59 /usr.bin/make/job.h
parentd4e647af8cfa186194177cf5f696c35a1f1b8505 (diff)
downloadFreeBSD-src-16827939fabe12f22c5b06ee3fdf29f6c10b1de2.zip
FreeBSD-src-16827939fabe12f22c5b06ee3fdf29f6c10b1de2.tar.gz
Give make(1) the ability to use KQUEUE to wait for worker processes
instead of polling for them. Unfortunately we cannot enable it yet because it panics the kernel somewhere in kqueue. Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
Diffstat (limited to 'usr.bin/make/job.h')
-rw-r--r--usr.bin/make/job.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h
index f5d406b..6220e09 100644
--- a/usr.bin/make/job.h
+++ b/usr.bin/make/job.h
@@ -50,6 +50,7 @@
#define TMPPAT "/tmp/makeXXXXXXXXXX"
+#ifndef USE_KQUEUE
/*
* The SEL_ constants determine the maximum amount of time spent in select
* before coming out to see if a child has finished. SEL_SEC is the number of
@@ -57,6 +58,7 @@
*/
#define SEL_SEC 0
#define SEL_USEC 100000
+#endif /* !USE_KQUEUE */
/*-
OpenPOWER on IntegriCloud