[Tilesathome] Nicer nice
Andrew McCarthy
me at andrewmccarthy.ie
Fri Aug 1 12:58:57 BST 2008
Hi folks,
Attached is a patch that simplifies how nice is done. Instead of
prefixing all external programs with a call to "nice -n10", it calls
POSIX::nice near where tilesGen.pl starts, and all child processes
inherit its niceness automatically.
It works fine for me here, but I'd appreciate a second pair of eyes, and
also that somebody with Windows can confirm it fails gracefully.
Thanks,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nice.patch
Type: text/x-diff
Size: 7849 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080801/6cbc5fa5/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080801/6cbc5fa5/attachment.pgp>
More information about the Tilesathome
mailing list