From owner-freebsd-stable Mon Oct 30 9: 6: 4 2000 Delivered-To: freebsd-stable@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 980EC37B4C5; Mon, 30 Oct 2000 09:06:00 -0800 (PST) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id MAA10348; Mon, 30 Oct 2000 12:02:00 -0500 (EST) Date: Mon, 30 Oct 2000 12:01:59 -0500 (EST) From: Daniel Eischen To: Max Khon Cc: Roman Shterenzon , freebsd-stable@FreeBSD.ORG, "Daniel M. Eischen" , jkh@FreeBSD.ORG Subject: Re: Is it late already? (-pthread) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 30 Oct 2000, Max Khon wrote: > hi, there! > > On Mon, 30 Oct 2000, Roman Shterenzon wrote: > > > The pthreads in RELENG_4 are quite broken (I mean, very-very broken). > > Daniel M. Eischen has produced some patches which are > > in -current for some time now, and were tested by me in -stable. > > They were found to work great for all things I've tested it on. > > It works *better* than the original implementation _anyway_, which is, > > like I said is broken. > > So, perhaps it wasn't in -current for a long time, but leaving the current > > implementation is like shipping broken pthreads apriori > > what problems are you talking about? > maybe this will explain problems we have with ACE+TAO on RELENG_4 Most of the problems have to do with signal handling. The threads library in -current (hopefully) fixes these problems. I am hesitent to MFC to -stable without further testing in -stable. I have had two reports of problems in -current that I cannot reproduce. Another problem that I found was with languages (GNAT) that use builtin setjmp/longjmp in conjunction with pthread_kill() to implement asynchronous transfers of control. I'm currently trying to fix this but I won't be done before Nov 1. Latest diffs to -stable are at: http://people.freebsd.org/~deischen/libc_r.diffs-stable Feedback from those with big mysql databases is appreciated. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message