From 3be4750adc7388ec4a340d74f40810b8b3f1a9ce Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 5 Mar 2008 17:27:48 +0000 Subject: INTEGRATION: CWS dmake412_DEV300 (1.11.2); FILE MERGED 2007/11/12 00:12:02 vq 1.11.2.2: #i83540# Make dmake buildable with .NET 2003 again. 2007/11/11 23:05:48 vq 1.11.2.1: #i83540# Enable parallel builds with native W32 dmake. (First MinGW only.) --- dmake/dag.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dmake/dag.c b/dmake/dag.c index 41a52e5a0273..ab5f7d9400c7 100644 --- a/dmake/dag.c +++ b/dmake/dag.c @@ -1,6 +1,6 @@ /* $RCSfile: dag.c,v $ --- $Revision: 1.11 $ --- last change: $Author: ihi $ $Date: 2007-10-15 15:38:09 $ +-- $Revision: 1.12 $ +-- last change: $Author: kz $ $Date: 2008-03-05 18:27:48 $ -- -- SYNOPSIS -- Routines to construct the internal dag. @@ -87,6 +87,12 @@ HASHPTR hp; if( tvalue < 1 ) Fatal( "Process limit value must be > 1" ); +#if defined(USE_CREATEPROCESS) + if( Max_proclmt > MAXIMUM_WAIT_OBJECTS ) + Fatal( "Specified maximum # of processes (MAXPROCESSLIMIT)" + " exceeds OS limit of [%d].", MAXIMUM_WAIT_OBJECTS ); +#endif + if( Max_proc > Max_proclmt ) Fatal( "Specified # of processes exceeds limit of [%d]", Max_proclmt ); -- cgit