[comp.sys.atari.st] TAXIDOS-Ethernet/GEMDOS networking question

avy@yugas.UUCP (Avy MOISE) (02/09/89)

We have the TAXI-Ethernet controller card for the Atari-ST working now.
At this time we implement the server/client protocols for the Atari-ST
computer. This allows any number of Atari-ST or Mega-ST's to share some or
all the disk drives of any computer that resides on the network. In order
to finish the software development we need an answer to the following
"simple" problem:

All GEMDOS file handles (opened with the Fopen() system call - trap 1) are
associated with a unique process I.D., hence when the process terminates these
handles are returned to the system and the files closed.

Our network server runs as a background daemon on the Atari-ST (or Mega-ST),
receiving GEMDOS I/O requests from the clients. Whenever the file server
opens a file, GEMDOS associates the newly acquired file handle with the
current running task, hence these handles are lost when the task terminates
and therefore the network is unreliable.

The question:
	How can an interrupt handler open files under GEMDOS and instruct
	GEMDOS not to free (or Fclose) the file (handles) when the current
	process terminates. i.e. How can we open GEMDOS files and tell GEMDOS
	not to associate the returned file handle with any process.

Your replies will be greatly appreciated.

-- 
Avygdor Moise, York University. (C.R.E.S.S.),  Petrie Bldg. Rm 344,
               4700 Keele St., North York, Ontario, Canada. M3J 1P3
UUCP:   ...!yunexus!yugas!avy                      Tel:1 416 736-5359