From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John David Anglin" Subject: Re: [parisc-linux] Re: gsyprf11 and 2.6.13-rc3-pa1 Date: Mon, 15 Aug 2005 23:32:48 -0400 (EDT) Message-ID: <200508160332.j7G3WnGx022020@hiauly1.hia.nrc.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: James.Bottomley@SteelEye.com, parisc-linux@lists.parisc-linux.org To: dave@hiauly1.hia.nrc.ca (John David Anglin) Return-Path: In-Reply-To: from "John David Anglin" at Aug 15, 2005 11:18:00 pm List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: parisc-linux-bounces@lists.parisc-linux.org > > static void sighandler(int sig) > > { > > printf("Got signal %d\n", sig); > > exit(0); > > I think you need to use _exit in a signal handler although this may > not be an issue when there is only one thread. GCC uses exit. Either way, the kernel shouldn't hang. Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) _______________________________________________ parisc-linux mailing list parisc-linux@lists.parisc-linux.org http://lists.parisc-linux.org/mailman/listinfo/parisc-linux