Date: Wed, 7 Aug 2002 14:46:46 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: hackers@freebsd.org Cc: dillon@apollo.backplane.com Subject: Re: Help needed. Deadlock in rtld makes openoffice build hang ag Message-ID: <200208072146.g77Lkke8058706@vashon.polstra.com> In-Reply-To: <200208072140.g77LeL2b000769@apollo.backplane.com> References: <20020807231439.F58571-100000@levais.imp.ch> <200208072132.g77LWOBD058671@vashon.polstra.com> <200208072140.g77LeL2b000769@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <200208072140.g77LeL2b000769@apollo.backplane.com>, Matthew Dillon <dillon@apollo.backplane.com> wrote: > > If it's a matter of one thread hogging the cpu and the other (which > holds the lock) not being able to run to completion, maybe putting > the sleep back in would work. Yes, that was the original idea behind the sleeps. But in practice it doesn't work, because the rtld isn't really linked with the rest of the application. When the rtld calls nanosleep(), it's getting the real system call rather than the threads package's version. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208072146.g77Lkke8058706>