901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
|
/*
** On non-Windows systems, calls nice(2) with the given level. Errors
** are ignored. On Windows this is a no-op.
*/
void fossil_nice(int level){
#ifndef _WIN32
nice(level);
#else
(void)level;
#endif
}
/*
** Calls fossil_nice() with a default level.
|
>
>
|
|
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
|
/*
** On non-Windows systems, calls nice(2) with the given level. Errors
** are ignored. On Windows this is a no-op.
*/
void fossil_nice(int level){
#ifndef _WIN32
/* dummy if() condition to avoid nuisance warning about unused result on
certain compiler */
if( nice(level) ){ /*ignored*/ }
#else
(void)level;
#endif
}
/*
** Calls fossil_nice() with a default level.
|