Date: Wed, 6 Jan 1999 21:05:07 +0000 From: Tony Finch <dot@dotat.at> To: current@FreeBSD.ORG Subject: Re: Squid + linuxthreads in action Message-ID: <E0zy08Z-0007Wm-00@fanf.noc.demon.net> In-Reply-To: <19990106142240.A375@tar.com> References: <E0zxzBQ-0007Tt-00@fanf.noc.demon.net> <E0zxzBQ-0007Tt-00@fanf.noc.demon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
"Richard Seaman, Jr." <dick@tar.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0zy08Z-0007Wm-00>