🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13998

Re: Help - Asynchronous I/O to/from files

#13998
From: Bruce Dawson
Date: Thu, 01 Mar 1990 15:35
22 lines
1154 bytes
> 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.
Technical Details
Message-ID: <1238@mindlink.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!van-bc!rsoft!mindlink!a464

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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