Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!netcom!chrisj From: chrisj@netcom.UUCP (Christopher T. Jewell) Newsgroups: comp.sys.mac.programmer Subject: Re: Non-Blocking io (stdin & MacTCP) Summary: KillIO or PBKillIO cancels an async device request Keywords: async asynchronous KillIO PBKillIO Message-ID: <16205@netcom.UUCP> Date: 4 Nov 90 22:30:34 GMT References: <520@mermaid.Litle.Com> <1990Nov2.194118.29698@hellgate.utah.edu> Organization: Netcom- The Bay Area's Public Access Unix System {408 241-9760 guest} Lines: 14 In article <1990Nov2.194118.29698@hellgate.utah.edu> u-lchoqu%peruvian.utah.edu@cs.utah.edu (Lee Choquette) writes: >On the Mac >you have a pending I/O request, and I can't find in Inside Mac a safe >way to cancel that request. Does anyone out there know how to cancel >an asynchronous File Manager request? What happens if your >application quits before the request completes? On the Mac, asynchronous requests really only make sense with devices, not with files. The high-level call KillIO (IM II-179) or the low-level call PBKillIO (II-187) will cancel all outstanding asynchronous requests to the specified device driver. -- Chris (Christopher T. Jewell) chrisj@netcom.uucp apple!netcom!chrisj at work: chrisj@lucid.com (I speak only for me, of course.)