- Timestamp:
- Mar 5, 2012, 5:19:48 PM (14 years ago)
- Location:
- branches/meh_branches/ppstack_test
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Ohana/src/opihi/pantasks/LocalJob.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/Ohana/src/opihi/pantasks/LocalJob.c
r23530 r33415 161 161 if (VerboseMode()) gprint (GP_ERR, "local job launched\n"); 162 162 163 /* set nice level for the child process -- maybe I should not exit here... */ 164 if (job[0].priority) { 165 status = setpriority (PRIO_PROCESS, pid, job[0].priority); 166 if (status == -1) { 167 gprint (GP_ERR, "error setting priority\n"); 168 perror ("setpriority: "); 169 exit (2); 170 } 171 } 172 163 173 /* close the other ends of the pipes */ 164 174 close (stdout_fd[1]); stdout_fd[1] = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
