Implement nice() for Windows
authorBruce Cran <bruce.cran@gmail.com>
Wed, 12 Oct 2016 02:22:47 +0000 (03:22 +0100)
committerJens Axboe <axboe@fb.com>
Wed, 12 Oct 2016 14:58:36 +0000 (08:58 -0600)
commit24a2bb13ec8e449fd5e30967420894f88cdad11a
tree63586a54874876fecabe73fdcfa7ae5921ad63db
parentd23ae82785f99927331e358d2c0deac5e53f2df1
Implement nice() for Windows

Map the following ranges for the "nice" option:

Less than -15:  High
-1 through -15: Above normal
0:              Normal
1 through 15:   Below normal
More than 15:   Low/Idle

Signed-off-by: Jens Axboe <axboe@fb.com>
HOWTO
os/windows/posix.c