🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #18486

Asynchronous I/O... please help

#18486
From: Robert Breckinridge Beatie
Date: Tue, 25 Aug 1987 05:45
20 lines
1647 bytes
I'm trying to take advantage of the wondrous ability to perform i/o operations
asynchronously from program execution.  I've been able to write the file that
I want to write, but have been having trouble with the ioCompletion routine.
I haven't been able to find anything that would indicate how the operating
system calls the specified routine.  Does the toolbox pass any parameters to
the completion routine?  Does the toolbox make application globals available
to the routine?  If anyone could point me to a reference, either a pointer
into Inside Macintosh or some other source, I'd be very grateful.

Also, I've heard a nasty rumour to the effect that the floppy controller takes
so much of the cpu's attention that there is absolutely no benefit in doing
floppy i/o asynchronously. What little I've been able to get working tends
to support this.  Does anyone have any hard data on this?  Does the scsi
controller on Mac+'s suffer from the same problem?  (I would call it brain-
damage but I'm just getting over a bad sunburn and I don't need the heat)

Thanks in advance for any help.  
-- 
Breck Beatie
uunet!aimt!breck
Technical Details
Message-ID: <77@aimt.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!aimt!breck

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!aimt!breck
From: breck@aimt.UUCP (Robert Breckinridge Beatie)
Newsgroups: comp.sys.mac
Subject: Asynchronous I/O... please help
Message-ID: <77@aimt.UUCP>
Date: Tue, 25-Aug-87 01:45:05 EDT
Article-I.D.: aimt.77
Posted: Tue Aug 25 01:45:05 1987
Date-Received: Thu, 27-Aug-87 04:10:57 EDT
Distribution: na
Organization: AIM Technology, Palo Alto, CA
Lines: 20
Keywords: Macintosh, Asynchronous, read, write