using per-thread nice values. The patch is contributed by Gabriele Svelto <gsvelto@mozilla.com>. r=wtc.