From owner-freebsd-current Wed Jan 6 13:05:39 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA08609 for freebsd-current-outgoing; Wed, 6 Jan 1999 13:05:39 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from server.noc.demon.net (server.noc.demon.net [193.195.224.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA08604 for ; Wed, 6 Jan 1999 13:05:38 -0800 (PST) (envelope-from fanf@demon.net) Received: by server.noc.demon.net; id VAA14373; Wed, 6 Jan 1999 21:05:09 GMT Received: from fanf.noc.demon.net(195.11.55.83) by inside.noc.demon.net via smap (3.2) id xmaa14370; Wed, 6 Jan 99 21:05:07 GMT Received: from fanf by fanf.noc.demon.net with local (Exim 1.73 #2) id 0zy08Z-0007Wm-00; Wed, 6 Jan 1999 21:05:07 +0000 To: current@FreeBSD.ORG From: Tony Finch Subject: Re: Squid + linuxthreads in action In-Reply-To: <19990106142240.A375@tar.com> References: Message-Id: Date: Wed, 6 Jan 1999 21:05:07 +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Richard Seaman, Jr." wrote: >On Wed, Jan 06, 1999 at 08:04:00PM +0000, Tony Finch wrote: > >> When the parent Squid process shuts down it leaves behind a pile of >> orphan processes (the async-io handler threads). A glance at the aio >> code reveals that Squid expects the pthread library to kill them -- >> they just loop indefinitely. > >A clarification question -- the async-io threads you're referring to >are threads created with pthread_create from the linux threads library, >and not threads created by the FreeBSD aio routines, correct? That's right. (The aio_* routines use threads? I thought they were just syscalls.) >If so, this would indicate a bug in the linux threads port and/or the >shared signal handling code -- all threads are supposed to be killed >when the "main thread" exits. That's what it looks like. Tony. -- f.a.n.finch dot@dotat.at fanf@demon.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message