[65076] trunk/base/src

Ryan Schmidt ryandesign at macports.org
Sun Mar 21 03:07:26 PDT 2010


On Mar 21, 2010, at 00:03, raimue at macports.org wrote:

> Revision: 65076
>          http://trac.macports.org/changeset/65076
> Author:   raimue at macports.org
> Date:     2010-03-20 22:03:24 -0700 (Sat, 20 Mar 2010)
> Log Message:
> -----------
> port1.0: Use setpriority(2) in proc system instead of /usr/bin/nice, fixes #18304

Oooh. Very fancy! I like it.

Do you suppose it would be nice to use setpriority in other phases as well? There are some ports that, though perhaps they shouldn't, compile in either the configure or destroot phases; perhaps they should use lower priority then too. Even ports that don't do this will sometimes do a lot of work in the configure phase, which can eat into CPU time.




More information about the macports-dev mailing list