Allow setting processor affinity.
authorIain Patterson <me@iain.cx>
Wed, 8 Jan 2014 14:55:59 +0000 (14:55 +0000)
committerIain Patterson <me@iain.cx>
Wed, 8 Jan 2014 14:56:13 +0000 (14:56 +0000)
commit53371f115d94fbbc7e5cb60853b9e4a5d356d4b0
tree110b8efb1d0a3ac708a54a2f64ca542d9a491b6d
parentb47ff49386cd993521c6722a5fe0aa41736aa31b
Allow setting processor affinity.

The REG_SZ AppPriority entry specifies a list of processors which will
be converted to a mask and passed to SetProcessAffinityMask().

Processors are numbered from 0, must not exceed 63, and are separated
with commas or dashes, to specify a range.

Thanks Robert Middleton.
13 files changed:
ChangeLog.txt
README.txt
gui.cpp
messages.mc
nssm.cpp
nssm.h
nssm.rc
registry.cpp
registry.h
resource.h
service.cpp
service.h
settings.cpp