diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:14:50 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:14:50 +0200 |
commit | 902d39a3a79c6efe93c8879575fdd5a759cf03de (patch) | |
tree | e6ec0af8ac4333de34f581c2c7b5a2eb93e635a1 /win32/nice.c | |
parent | 581f0141b6dd8d20e71612f90b01507ed0783db8 (diff) | |
download | php-git-902d39a3a79c6efe93c8879575fdd5a759cf03de.tar.gz |
Trim trailing whitespace in source code files
Diffstat (limited to 'win32/nice.c')
-rw-r--r-- | win32/nice.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/win32/nice.c b/win32/nice.c index 4988ba5549..993df0a041 100644 --- a/win32/nice.c +++ b/win32/nice.c @@ -22,7 +22,7 @@ /* * Basic Windows implementation for the nice() function. * - * This implementation uses SetPriorityClass() as a backend for defining + * This implementation uses SetPriorityClass() as a backend for defining * a process priority. * * The following values of inc, defines the value sent to SetPriorityClass(): @@ -44,19 +44,19 @@ * * These values tries to mimic that of the UNIX version of nice(). * - * This is applied to the main process, not per thread, although this could + * This is applied to the main process, not per thread, although this could * be implemented using SetThreadPriority() at one point. * * Note, the following priority classes are left out with intention: * * . REALTIME_PRIORITY_CLASS - * Realtime priority class requires special system permissions to set, and + * Realtime priority class requires special system permissions to set, and * can be dangerous in certain cases. * * . PROCESS_MODE_BACKGROUND_BEGIN * . PROCESS_MODE_BACKGROUND_END - * Process mode is not covered because it can easily forgotten to be changed - * back and can cause unforseen side effects that is hard to debug. Besides + * Process mode is not covered because it can easily forgotten to be changed + * back and can cause unforseen side effects that is hard to debug. Besides * that, these do generally not really fit into making a Windows somewhat * compatible nice() function. */ @@ -65,7 +65,7 @@ PHPAPI int nice(zend_long p) { DWORD dwFlag = NORMAL_PRIORITY_CLASS; - if (p < -9) { + if (p < -9) { dwFlag = HIGH_PRIORITY_CLASS; } else if (p < -4) { dwFlag = ABOVE_NORMAL_PRIORITY_CLASS; |