home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!mcsun!sunic!kth.se!dront.nada.kth.se!d88-jwa
- From: d88-jwa@dront.nada.kth.se (Jon W{tte)
- Subject: Re: MacINTERCOMM Invisible Xfers! (PR)
- In-Reply-To: davidp@calvin.usc.edu's message of 21 Jul 1992 11:51:38 -0700
- Message-ID: <D88-JWA.92Jul21231523@dront.nada.kth.se>
- Originator: d88-jwa@dront.nada.kth.se
- Sender: usenet@kth.se (Usenet)
- Nntp-Posting-Host: dront.nada.kth.se
- Organization: Royal Institute of Technology, Stockholm, Sweden
- References: <dx3uv972.90480s@moebius.cubetech.com>
- <sold.30.711663181@kit.uni-kl.de> <l6on5qINNf46@calvin.usc.edu>
- Date: Tue, 21 Jul 1992 22:15:23 GMT
- Lines: 21
-
- > davidp@calvin.usc.edu (David Peterson) writes:
-
- You don`t need to buffer the file transfer, just the options negotiation.
- After you've decided what the file is named and where it is going, make all
- subsequent read call asyncronous and have thier completion procs turn around
- and do an asyncronous PBWrite and have its completion proc turn around and
- to another asycronous read.
-
- Wouldn't it be even faster if you did something like
- queueing BOTH the next read and the next write from
- the completion proc, and the the one that finishes
- the latest of them queue the next read/write etc ?
- This of course requires two buffers, but should be
- quite doable and (theoretically, i.e. from one
- floppy to another) be twice as fast !
-
- --
- Jon W{tte, Svartmangatan 18, S-111 29 Stockholm, Sweden
-
- ### You have the Easy Access virus. This virus may cause strange sounds
- ### and weird keyboard behaviour when you press the shift key repeatedly.
-