>Ah, but make(1) can delay spawning any new processes when it knows its
>children are paging.

Sounds good - but I doubt the complexity it adds would really be worth
it.

If the real problem is the C++ compiler or other large tool needing
sufficient resources that you have to ensure invocations are
sequenced/throttled, then the obvious solution would seem to be to
invoke it via a proxy that can do the the needed throttling on a global
(system, user, or whatever basis seems to make sense).

Think of make's invocation of ${CXX} as actually just submitting a job
to the CXX service, which might only be allowing one instance of C++ to
run at a time.

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to