Thread View: comp.sys.transputer
1 messages
1 total messages
Started by David Suter
Mon, 08 Aug 1988 01:13
multiple open files
Author: David Suter
Date: Mon, 08 Aug 1988 01:13
Date: Mon, 08 Aug 1988 01:13
27 lines
1881 bytes
1881 bytes
I wish to use the (IBMPC) development system to run an occam
program that reads and writes several (DOS) files that are open
simultaneously. As far as I can make out from the server documentation,
it is possible to only have one file active for input or output at one time
(other "modes" of i/o for other files can be stacked and restarted using
resume). Thus it seems that the only way my application program (running
on the transputer) can communicate with several host files is to
continually switch i/o context by stacking and unstacking - furthermore
the documentation does not seem to indicate whether the current file pointer
is stacked or whether one needs to issue a seek command to restore file pointers
of those i/o operations resumed. Such an approach seems very cumbersome
(particularly if one wants to resume i/o on a file that is not at the
top of the stack but is further down).; is there really a better way buried in
the documentation - or do I need an alien file server to do this more elegantly?
d.s.
---------------------
David Suter ISD: +61 3 479-1057
Department of Computer Science, STD: (03) 479-1057
La Trobe University, ACSnet: suter@latcs1.oz
Bundoora, CSnet: suter@latcs1.oz
Victoria, 3083, ARPA: suter%latcs1.oz@uunet.uu.net
Australia UUCP: ...!uunet!munnari!latcs1.oz!suter
TELEX: AA33143
FAX: 03 4785814
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads