- //now set high priority, if possible
- // if (setpriority(PRIO_PROCESS,getpid(),-20)!=0) {
- /*
- if ( (nice_lim < INT_MAX) &&
- (setpriority(PRIO_PROCESS, my_pid, nice_lim) != 0) ) {
- printf("Warning: cannot renice.\nTo work better you should run this program as root.\n");
- }
- */
- return 0;
+
+ //now set high priority, if possible
+ // if (setpriority(PRIO_PROCESS,getpid(),-20)!=0) {
+ /*
+ if ( (nice_lim < INT_MAX) &&
+ (setpriority(PRIO_PROCESS, my_pid, nice_lim) != 0) ) {
+ printf("Warning: cannot renice.\nTo work better you should run this program as root.\n");
+ }
+ */
+ return 0;