Changeset 6687
- Timestamp:
- Mar 26, 2006, 1:46:03 PM (20 years ago)
- Location:
- trunk/Ohana/src/opihi
- Files:
-
- 2 added
- 35 edited
-
include/pantasks.h (added)
-
pantasks/CheckController.c (modified) (1 diff)
-
pantasks/CheckJobs.c (modified) (1 diff)
-
pantasks/CheckSystem.c (modified) (1 diff)
-
pantasks/CheckTasks.c (modified) (1 diff)
-
pantasks/CheckTimeRanges.c (modified) (1 diff)
-
pantasks/ControllerOps.c (modified) (1 diff)
-
pantasks/JobIDOps.c (modified) (1 diff)
-
pantasks/JobOps.c (modified) (1 diff)
-
pantasks/LocalJob.c (modified) (1 diff)
-
pantasks/Makefile (modified) (4 diffs)
-
pantasks/TaskOps.c (modified) (1 diff)
-
pantasks/controller.c (modified) (1 diff)
-
pantasks/controller_check.c (modified) (1 diff)
-
pantasks/controller_exit.c (modified) (1 diff)
-
pantasks/controller_host.c (modified) (1 diff)
-
pantasks/controller_output.c (modified) (1 diff)
-
pantasks/controller_pulse.c (modified) (1 diff)
-
pantasks/controller_status.c (modified) (1 diff)
-
pantasks/delete.c (modified) (1 diff)
-
pantasks/init.c (modified) (2 diffs)
-
pantasks/job.c (modified) (1 diff)
-
pantasks/kill.c (modified) (1 diff)
-
pantasks/pantasks.c (added)
-
pantasks/pulse.c (modified) (1 diff)
-
pantasks/run.c (modified) (1 diff)
-
pantasks/status.c (modified) (1 diff)
-
pantasks/stop.c (modified) (1 diff)
-
pantasks/task.c (modified) (1 diff)
-
pantasks/task_command.c (modified) (1 diff)
-
pantasks/task_host.c (modified) (1 diff)
-
pantasks/task_macros.c (modified) (1 diff)
-
pantasks/task_nmax.c (modified) (1 diff)
-
pantasks/task_periods.c (modified) (1 diff)
-
pantasks/task_trange.c (modified) (1 diff)
-
pantasks/verbose.c (modified) (1 diff)
-
pantasks/version.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/CheckController.c
r4767 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 static struct timeval start; -
trunk/Ohana/src/opihi/pantasks/CheckJobs.c
r6249 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int CheckJobs () { -
trunk/Ohana/src/opihi/pantasks/CheckSystem.c
r4772 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 # define MAX_DELAY 0.1 -
trunk/Ohana/src/opihi/pantasks/CheckTasks.c
r4762 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int CheckTasks () { -
trunk/Ohana/src/opihi/pantasks/CheckTimeRanges.c
r4693 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int CheckTimeRanges (TimeRange *ranges, int Nranges) { -
trunk/Ohana/src/opihi/pantasks/ControllerOps.c
r4767 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 /* adding a new host can delay controller up to a second or so */ 3 3 # define CONTROLLER_TIMEOUT 500 -
trunk/Ohana/src/opihi/pantasks/JobIDOps.c
r4693 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 # define MAX_N_JOBS 1000 -
trunk/Ohana/src/opihi/pantasks/JobOps.c
r4714 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 static Job **jobs; -
trunk/Ohana/src/opihi/pantasks/LocalJob.c
r4714 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 /* local jobs are forked in the background -
trunk/Ohana/src/opihi/pantasks/Makefile
r6678 r6687 5 5 LIB = $(HOME)/lib 6 6 INC = $(HOME)/include 7 SDIR = $(HOME)/p sched7 SDIR = $(HOME)/pantasks 8 8 # 9 9 DESTBIN = $(LBIN) … … 11 11 DESTINC = $(LINC) 12 12 DESTMAN = $(LMAN) 13 DESTHLP = $(LHLP)/p sched13 DESTHLP = $(LHLP)/pantasks 14 14 15 15 # compile flags … … 26 26 27 27 funcs = \ 28 $(SDIR)/pantasks.$(ARCH).o \ 28 29 $(SDIR)/init.$(ARCH).o \ 29 $(SDIR)/psched.$(ARCH).o \30 30 $(SDIR)/CheckJobs.$(ARCH).o \ 31 31 $(SDIR)/CheckSystem.$(ARCH).o \ … … 70 70 $(DESTLIB)/libdatacmd.a 71 71 72 p sched: $(BIN)/psched.$(ARCH)72 pantasks: $(BIN)/pantasks.$(ARCH) 73 73 74 $(BIN)/p sched.$(ARCH) : $(funcs) $(cmds) $(libs)74 $(BIN)/pantasks.$(ARCH) : $(funcs) $(cmds) $(libs) 75 75 76 install: $(DESTBIN)/p schedhelp76 install: $(DESTBIN)/pantasks help 77 77 78 help: cmd.basic.help cmd.data.help cmd.astro.help p sched.help78 help: cmd.basic.help cmd.data.help cmd.astro.help pantasks.help 79 79 80 .PHONY: p sched80 .PHONY: pantasks 81 81 82 82 include ../Makefile.Common -
trunk/Ohana/src/opihi/pantasks/TaskOps.c
r6249 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 static Task **tasks; -
trunk/Ohana/src/opihi/pantasks/controller.c
r4763 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int controller_host PROTO((int, char **)); -
trunk/Ohana/src/opihi/pantasks/controller_check.c
r4706 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int controller_check (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/controller_exit.c
r4693 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int controller_exit (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/controller_host.c
r4763 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int controller_host (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/controller_output.c
r4762 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int controller_output (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/controller_pulse.c
r4763 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int controller_pulse (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/controller_status.c
r4763 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int controller_status (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/delete.c
r4693 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int delete_job (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/init.c
r4748 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int controller PROTO((int, char **)); … … 51 51 */ 52 52 53 void InitP sched() {53 void InitPantasks () { 54 54 55 55 int i; -
trunk/Ohana/src/opihi/pantasks/job.c
r4693 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 /* this will require a bit of care: to define a job, we need -
trunk/Ohana/src/opihi/pantasks/kill.c
r4693 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int kill_job (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/pulse.c
r4705 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int pulse (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/run.c
r4705 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int run (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/status.c
r4705 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int status_sys (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/stop.c
r4705 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int stop (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/task.c
r4705 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 # define prompt "> " 3 3 -
trunk/Ohana/src/opihi/pantasks/task_command.c
r4705 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int task_command (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/task_host.c
r4705 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int task_host (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/task_macros.c
r4705 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 # define D_NLINES 100 3 3 # define prompt "> " -
trunk/Ohana/src/opihi/pantasks/task_nmax.c
r4693 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int task_nmax (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/task_periods.c
r6249 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int task_periods (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/task_trange.c
r4693 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 int task_trange (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/verbose.c
r4693 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 3 3 static int VERBOSE = FALSE; -
trunk/Ohana/src/opihi/pantasks/version.c
r4748 r6687 1 # include "p sched.h"1 # include "pantasks.h" 2 2 static char *name = "$Name: not supported by cvs2svn $"; 3 3
Note:
See TracChangeset
for help on using the changeset viewer.
