Changeset 3140
- Timestamp:
- Feb 5, 2005, 6:52:07 PM (21 years ago)
- Location:
- trunk/Ohana/src/opihi/pantasks
- Files:
-
- 1 added
- 3 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/JobOps.c
r2598 r3140 70 70 } 71 71 72 /* return job with given name*/72 /* return job with given ID */ 73 73 Job *FindJob (int JobID) { 74 74 … … 161 161 } 162 162 163 /* this needs to: 1) distinguish local from controller jobs 163 /* this needs to: 164 1) distinguish local from controller jobs 164 165 2) fork the local jobs in the background 165 166 3) send the controller jobs to the controller */ -
trunk/Ohana/src/opihi/pantasks/Makefile
r2833 r3140 26 26 27 27 sched = \ 28 $(SDIR)/ schedule.$(ARCH).o \28 $(SDIR)/run.$(ARCH).o \ 29 29 $(SDIR)/task.$(ARCH).o \ 30 30 $(SDIR)/task_command.$(ARCH).o \ -
trunk/Ohana/src/opihi/pantasks/TaskOps.c
r2598 r3140 141 141 } 142 142 143 double GetTaskTimer (struct timeval start) { 144 145 double dtime; 146 struct timeval now; 147 148 gettimeofday (&now, (void *) NULL); 149 dtime = DTIME (now, start); 150 151 return (dtime); 152 } 153 154 void SetTaskTimer (struct timeval *timer) { 155 gettimeofday (timer, (void *) NULL); 156 } -
trunk/Ohana/src/opihi/pantasks/init.c
r2598 r3140 7 7 int task_command PROTO((int, char **)); 8 8 int task_periods PROTO((int, char **)); 9 int schedulePROTO((int, char **));9 int run PROTO((int, char **)); 10 10 11 11 static Command cmds[] = { … … 16 16 {"command", task_command, "define executed command for a task"}, 17 17 {"periods", task_periods, "define time scales for a task"}, 18 {" schedule", schedule, "schedule the tasks"},18 {"run", run, "run the scheduler"}, 19 19 }; 20 20
Note:
See TracChangeset
for help on using the changeset viewer.
