From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,47a06d19e281eb8d X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-ArrivalTime: 1994-03-12 08:34:08 PST Xref: gmd.de comp.org.decus:2976 comp.os.vms:42301 comp.sys.dec:14289 comp.unix.advocacy:1125 Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.kei.com!ub!acsu.buffalo.edu!kalisiak From: kalisiak@cs.buffalo.edu (Chris Kalisiak) Subject: Re: Does UNIX do async i/o? Message-ID: Sender: nntp@acsu.buffalo.edu Nntp-Posting-Host: armstrong.cs.buffalo.edu Organization: UB X-Newsreader: TIN [version 1.1 PL8] References: <2lrev2$q4u@news.utdallas.edu> Date: Sat, 12 Mar 1994 16:34:08 GMT Mark A Harrison (mharriso@utdallas.edu) wrote: >Carl J Lydick (carl@SOL1.GPS.CALTECH.EDU) wrote: >> You're missing the fact that doing async I/O on most Unix systems is simply >> impossible. Sure, you could spawn a subprocess for each I/O request you want >> to make, have each subprocess issue a synchronous I/O request, then signal the >> parent when it completed. Seems like a fair amount of additional overhead to >> do something that could be incorporated in the system I/O routines. >Haven't you been paying attention? Do we need to repost the man pages? >These are modern times, we have THREADS these days! Yes, so does VMS! Even with threads you still have the overhead of creating a new thread to do the I/O. The fact remains that you "have to jump through hoops" (as someone said in reference to VMS a little while back) to do asynch I/O because it is not built into the system. Chris -- Chris Kalisiak |"Pound for pound, lame puns are your best entertainment kalisiak@cs.buffalo.edu | value." -- Gogo Dodo, Tiny Toon Adventures Tel/Fax:(716)692-5128/695-8481 |"Cocaine is God's way of telling you you have I'm a student; I don't speak for UB.| way too much money." -- Sting, The Police