Changeset 4689 for trunk/Ohana/src/opihi/pantasks/task_periods.c
- Timestamp:
- Jul 31, 2005, 1:04:22 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pantasks/task_periods.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/task_periods.c
r4684 r4689 7 7 Task *task; 8 8 9 PollValue = 0; 9 10 Poll = FALSE; 10 if ( N = get_argument (argc, argv, "-poll")) {11 if ((N = get_argument (argc, argv, "-poll"))) { 11 12 Poll = TRUE; 12 13 remove_argument (N, &argc, argv); … … 15 16 } 16 17 18 ExecValue = 0; 17 19 Exec = FALSE; 18 if ( N = get_argument (argc, argv, "-exec")) {20 if ((N = get_argument (argc, argv, "-exec"))) { 19 21 Exec = TRUE; 20 22 remove_argument (N, &argc, argv); … … 23 25 } 24 26 27 TimeoutValue = 0; 25 28 Timeout = FALSE; 26 if ( N = get_argument (argc, argv, "-timeout")) {29 if ((N = get_argument (argc, argv, "-timeout"))) { 27 30 Timeout = TRUE; 28 31 remove_argument (N, &argc, argv); … … 49 52 return (TRUE); 50 53 } 51 52 53 /**54 careful with this: the command is supposed to be realized55 for the Job, not the Task (at execution)56 the code is right, but who calls it when needs to be clarified.57 **/58
Note:
See TracChangeset
for help on using the changeset viewer.
