From owner-freebsd-hackers Mon Jul 19 0:52:16 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 530131507D for ; Mon, 19 Jul 1999 00:52:13 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.1) id JAA71620; Mon, 19 Jul 1999 09:50:16 +0200 (CEST) (envelope-from des) To: Alfred Perlstein Cc: Dag-Erling Smorgrav , hackers@FreeBSD.ORG Subject: Re: Determining the return address References: From: Dag-Erling Smorgrav Date: 19 Jul 1999 09:50:16 +0200 In-Reply-To: Alfred Perlstein's message of "Sun, 18 Jul 1999 15:12:19 -0500 (EST)" Message-ID: Lines: 13 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein writes: > On 18 Jul 1999, Dag-Erling Smorgrav wrote: > > Hmm, I ended up using a global variable which I increment at the > > beginning of the signal handler, and decrement at the end. > As long as you make sure the code won't have multiple access > that would work. Signal handlers having multiple accesses? When did you last see that happen? DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message