Path: utzoo!attcan!uunet!van-bc!rsoft!mindlink!a464 From: a464@mindlink.UUCP (Bruce Dawson) Newsgroups: comp.sys.amiga.tech Subject: Re: Help - Asynchronous I/O to/from files Message-ID: <1238@mindlink.UUCP> Date: 1 Mar 90 15:35:54 GMT Organization: MIND LINK! - British Columbia, Canada Lines: 22 > duncant writes: > > Am I off track here? Can tasks in fact call Read(), Write() and so on? > Or can processes be spawned without having to do a disk access? > > I was just getting set to launch into doing it by sending packets to > the filesystem handler - but if there is an easier way... > > Thanks > Duncan Thomson (would-be Amiga ssytem programmer!) > > -- > (Please excuse the typos and garbage caused by line noise.) Tasks can not do file i/o, or anything else AmigaDosish. Processes can. However, spawning a process does _not_ imply doing a LoadSeg. You can spawn a process and give it the code in one of your subroutines in your already loaded program to execute. You do have to deal with a few uglies like making it long word aligned for the usual BCPL reasons, but it is possible. .Bruce Dawson.