From owner-freebsd-current Wed Nov 11 17:50:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA04852 for freebsd-current-outgoing; Wed, 11 Nov 1998 17:50:05 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA04839 for ; Wed, 11 Nov 1998 17:50:01 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id UAA01555; Wed, 11 Nov 1998 20:49:24 -0500 (EST) Date: Wed, 11 Nov 1998 20:49:24 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: "Richard Seaman, Jr." cc: "current@freebsd.org" Subject: Re: RFSIGSHARE ready? In-Reply-To: <199811111951.NAA17744@ns.tar.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 11 Nov 1998, Richard Seaman, Jr. wrote: > I've looked more closely at your patch. If I understand what it does, > it shares signal actions as well as signal masks between threads. Correct. If the flag is used, of course. > > Its my understanding that POSIX specifies that signal actions > are shared process wide, but that each thread has its own signal > mask. It appears to me that this is also what linux threads > attempts to implement. CLONE_SIGHAND, what does that mean to you? To me it means that signal handlers are shared between processes. > > If you want POSIX and linux thread compliant signal handling, > I would think you would share the p_sigacts structure, but > not the p_sigmask structure. However, I have no idea what > the linux kernel actually does, so if your goal is to match > that, I have no idea if your implementation does that. I do intend to for every appearence emulate the behavior of Linux for the Linux processes. > > Also, FYI, your patches break a make buildworld in gdb too. I'll look into this. Cheers, Brian Feldman > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message