Date: Sat, 10 Feb 1996 22:58:35 +0000 (GMT) From: alan@lxorguk.ukuu.org.uk (Alan Cox) To: leisner@sdsp.mc.xerox.com (Marty Leisner) Cc: paul@sfe.com.au, linux-kernel@vger.rutgers.edu, hackers@freebsd.org Subject: Re: signal masks and select Message-ID: <m0tlOFY-0005FYC@lightning.swansea.linux.org.uk> In-Reply-To: <9602092033.AA14852@gnu.mc.xerox.com> from "Marty Leisner" at Feb 9, 96 12:33:45 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> But this is a kludgey workaround...and using pthreads (where each thread > has a signal mask) means env becomes thread private data... > > It seems very reasonable to have a system call: > select_with_newmask(new_mask, <old select parameters Not the kernel, keep it out of the kernel. Put the setjmp one into a nice libc routing called select_with_newmask and don't look too hard at it, it works, its efficient and its n your libraries where it belongs. If you don't like the setjmp code, rewrite the routine in a language with good exception support ;) Alan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0tlOFY-0005FYC>