Date: Thu, 20 Apr 1995 17:05:00 -0700 From: "Jordan K. Hubbard" <jkh@freefall.cdrom.com> To: rw@namu01.gwdg.de (Rainer Wittmann UMS) Cc: bugs@FreeBSD.org Subject: Re: signal handling bug Message-ID: <14542.798422700@freefall.cdrom.com> In-Reply-To: Your message of "Thu, 20 Apr 95 14:50:45 %2B0200." <9504201250.AA26059@namu01.gwdg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> Any unix system, I know, except FreeBSD 2.0, behaves as follows, > if a process is reading from a slow device like standard input from > a terminal. If this process receives a signal, for which a signal > handler was installed by the process, then immediately control > is tranferred to the signal handler (FreeBSD does this as well). > After the signal was serviced, the read system call is termianted > and errno is set to EINTR. Rather then doing this, FreeBSD completes > the read system call, as if no signal would have arrived. This I believe this is standard BSD behavior, if my past reading of the emacs sources are correct. Are you sure that the UNIX systems you've used up to now weren't SYSV based? This bit of SYSV brainda^H^H^H^H^H^Hbehavior is well documented.. Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14542.798422700>