From owner-freebsd-hackers Tue May 21 19:58:45 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA29884 for hackers-outgoing; Tue, 21 May 1996 19:58:45 -0700 (PDT) Received: from europa.com (root@thetics.europa.com [199.2.194.14]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id TAA29871 for ; Tue, 21 May 1996 19:58:36 -0700 (PDT) Received: by europa.com (/\==/\ Smail3.1.28.1 #28.13) id ; Tue, 21 May 96 19:58 PDT Date: Tue, 21 May 1996 19:58:32 -0700 (PDT) From: Steven Frank To: Terry Lambert cc: terry@lambert.org, freebsd-hackers@FreeBSD.org Subject: Re: Socket library question In-Reply-To: <199605212352.QAA02533@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > You should probably macrotize the spl calls, and inc a reference > count when you get the semaphore, and dec it when you let it go. > Then you can scream if the count goes above 1, and you've found > your bug. I will try this as soon as possible. Will keep you posted. Thanks again!