From owner-freebsd-stable Mon Oct 30 6:10:35 2000 Delivered-To: freebsd-stable@freebsd.org Received: from shark.harmonic.co.il (jupiter.harmonic.co.il [192.116.140.62]) by hub.freebsd.org (Postfix) with ESMTP id ADEA837B479 for ; Mon, 30 Oct 2000 06:10:31 -0800 (PST) Received: from localhost (roman@localhost) by shark.harmonic.co.il (8.9.3/8.9.3) with ESMTP id PAA22089; Mon, 30 Oct 2000 15:56:47 +0200 Date: Mon, 30 Oct 2000 15:56:47 +0200 (IST) From: Roman Shterenzon To: Max Khon Cc: freebsd-stable@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 For example, after installing signal handler, thread doesn't break out of blocking syscall. Daniel could be more helpfull then me in this. Example failure is real-world application: OpenLDAP cannot be shut down properly (other than kill it, then telnet localhost 389 - then it exits). Kill -9 kills it and data could be lost. --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message