From owner-freebsd-hackers Thu Nov 8 20: 4: 2 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id D982537B416 for ; Thu, 8 Nov 2001 20:03:59 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id fA943wa16685; Thu, 8 Nov 2001 21:03:58 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id fA943v748976; Thu, 8 Nov 2001 21:03:58 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200111090403.fA943v748976@harmony.village.org> To: rittle@labs.mot.com Subject: Re: Report on FreeBSD 4.4 pthread implementation verses boehm-gc Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Thu, 08 Nov 2001 20:50:07 CST." <200111090250.fA92o7h55180@latour.rsch.comm.mot.com> References: <200111090250.fA92o7h55180@latour.rsch.comm.mot.com> Date: Thu, 08 Nov 2001 21:03:57 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200111090250.fA92o7h55180@latour.rsch.comm.mot.com> Loren James Rittle writes: : void* worker (void* arg) : { : pthread_kill (*(pthread_t*)arg, SIGUSR1); : sleep (1); : pthread_kill (*(pthread_t*)arg, SIGUSR2); : } We've seen the same thing with: pthread_kill (*(pthread_t*)arg, SIGUSR1); pthread_kill (*(pthread_t*)arg, SIGUSR1); At this point, the signal handler repeatedly gets called. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message