home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12795 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.6 KB  |  37 lines

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