Path: utzoo!attcan!uunet!mcsun!cernvax!chx400!ethz!stp From: stp@ethz.UUCP (Stephan Paschedag) Newsgroups: comp.os.os9 Subject: Re: signal problem Message-ID: <5671@ethz.UUCP> Date: 23 Aug 90 19:50:17 GMT References: <5596@ethz.UUCP> <3943@disk.UUCP> Reply-To: stp@bernina.ethz.ch.UUCP (Stephan Paschedag) Organization: ETH Zuerich, Switzerland Lines: 26 What about the following situation : A process has setup a intercept handler to catch ALL signals (including SIGQUIT & SIGINT). The process has to do some some special operation on each of the signals (especially on SIGQUIT and SIGINT). Now the process is doing a I$Write to a SCF device. During this write the output buffer of the device driver becomes full and a F$Sleep for the process is executed. During this sleep a SIGQUIT arrives, the process exits from the F$Sleep call and the driver recognises the signal and exits with the Carry bit set and the Error code in d1.w. How can the process find out how many characters have been written to the device ? (the count of written characters shound also be returned in d1 !!! Any ideas for a solution ? Stephan ============================================================================== OS/2 & PS/2 : half an operating system for half a computer Stephan Paschedag stp@ethz.UUCP MPL AG, Zelgweg 12, CH-5405 Baden-Daettwil ..!mcvax!cernvax!chx400!ethz!stp ______________________________________________________________________________