Changeset 4684 for trunk/Ohana/src/opihi/pantasks/task_periods.c
- Timestamp:
- Jul 31, 2005, 8:04:11 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pantasks/task_periods.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/task_periods.c
r4451 r4684 5 5 int N, Poll, Exec, Timeout; 6 6 float PollValue, ExecValue, TimeoutValue; 7 char *taskname;8 7 Task *task; 9 8 … … 38 37 } 39 38 40 task name = GetCurrentTask ();41 if (task name== NULL) {39 task = GetNewTask (); 40 if (task == NULL) { 42 41 fprintf (stderr, "ERROR: not defining or running a task\n"); 43 return (FALSE);44 }45 task = FindTask (taskname);46 if (task == NULL) {47 fprintf (stderr, "ERROR: current task not found??\n");48 42 return (FALSE); 49 43 }
Note:
See TracChangeset
for help on using the changeset viewer.
