Changeset 7952 for trunk/Ohana/src/opihi/doc/pantasks.txt
- Timestamp:
- Jul 23, 2006, 3:05:21 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/doc/pantasks.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/doc/pantasks.txt
r7929 r7952 1 2 - todo: 3 4 - create the processing threads: 5 - check tasks 6 - check jobs 7 - check controller 8 - load inputs 1 9 2 10 - additional issues: 3 4 - missing dependency for shell.h?5 - should not return an error message in client if command is not found6 11 - server input needs to place files for input on a stack which is 7 12 actually loaded by the RunScheduler loop … … 10 15 be running multicommand, but it probably does not hurt. 11 16 (the client is not allowed to send ';' to the server) 12 - the multicommand needs to be available in the 'for' and other loops13 this probably means unifying the client and non-client forms.14 how does multiclient get the value of the server? I tend to use15 globals for things like that, which is probably not the best16 practice. is the client form of the tool generic? are there other17 circumstances which would use a client/server beyond pantasks?18 maybe pcontrol?19 17 20 the two pieces of information which need to be carried to the 21 multicommand and command functions in client/server mode are the 22 server socket and the verbosity of the error messages. these could 23 be defined on startup with globals and an init function of some sort. 18 - pantasks input: this passes an 'input' command to the server, which 19 performs the input in a different thread. is this the same thread 20 as the scheduler loop? another option within the scheduler loop? 24 21 25 I need to do some serious work on the output messages in order26 to support the client/server interactions. In client/server mode,27 all of the output messages to be sent back to the client need to be28 saved in a buffer and then pushed back to the client after the command29 is executed. Currently, I can select only the output file pointer.30 this is not sufficient. I need to supply a function which will write to31 an internal buffer until a 'dump' function is called, or something32 equivalent.33 34 in client/server mode, the commands issues by the client (except as noted35 below) all return immediately. The output produced by those commands36 is saved by the server until the command is finished, then the37 resulting buffered data is pushed back to the client. There a few38 commands which behave a bit differently. these commands are in the39 background thread of the scheduler. the resulting output is sent to40 the logger device of the scheduler rather than back to any specific41 client. should there be a way for the client(s) to examine the42 scheduler output?43 44 - pantasks input: this passes an 'input' command to the server, which45 performs the input in a different thread. is this the same thread46 as the scheduler loop? another option within the scheduler loop?47 48 - run
Note:
See TracChangeset
for help on using the changeset viewer.
