X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=service.cpp;h=d864fa2d4f22a9a7b7a31c47f65fc020b333f6a3;hb=d47dca0afe81c1c8e75c518da5a51829e61ad1cd;hp=b24eae2a4a7a5b4565a461e23693703c685e6766;hpb=095331018c46d251f6db151572bb1c2e76e911fa;p=nssm.git diff --git a/service.cpp b/service.cpp index b24eae2..d864fa2 100644 --- a/service.cpp +++ b/service.cpp @@ -240,7 +240,7 @@ int affinity_string_to_mask(TCHAR *string, __int64 *mask) { return 0; } -inline unsigned long priority_mask() { +unsigned long priority_mask() { return REALTIME_PRIORITY_CLASS | HIGH_PRIORITY_CLASS | ABOVE_NORMAL_PRIORITY_CLASS | NORMAL_PRIORITY_CLASS | BELOW_NORMAL_PRIORITY_CLASS | IDLE_PRIORITY_CLASS; }