原始文献 / 论坛帖 / Re: bitcoin auto-renice-ing

Re: bitcoin auto-renice-ing

Bitcointalk · 2010-07-14 17:38:31 UTC

AuthorSatoshi Nakamoto
TitleRe: bitcoin auto-renice-ing
Date2010-07-14 17:38:31 UTC
ForumBitcointalk · 原文

Laszlo 纠正了这个问题,但很遗憾没能赶上 0.3.0。不过应该很快会有 0.3.1。

问题在于我用了 PRIO_MIN,其实应该用 PRIO_MAX 来表示最低优先级。操作系统本不该允许提升优先级,所以 PRIO_MIN 应该会让它停留在优先级 0。

英文原文

Laszlo corrected this, but unfortunately it was too late to make it into 0.3.0.  There will probably be a 0.3.1 soon though.

The problem is I used PRIO_MIN, I should have used PRIO_MAX for the lowest priority.  The OS isn't supposed to let you increase priority, so the PRIO_MIN ought to leave it at priority 0.