Date: Tue, 6 Aug 2002 17:08:49 +0200 (CEST) From: Martin Blapp <mb@imp.ch> To: Alexander Kabaev <ak03@gte.com> Cc: <openoffice@FreeBSD.ORG>, <jdp@FreeBSD.ORG>, <hackers@FreeBSD.ORG> Subject: Re: Help needed. Deadlock in rtld makes openoffice build hang again Message-ID: <20020806170810.K58571-100000@levais.imp.ch> In-Reply-To: <20020806095745.M58571-100000@levais.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
> wlock_acquire(void *lock) > { > Lock *l = (Lock *)lock; > sigset_t tmp_oldsigmask; > > for ( ; ; ) { > sigprocmask(SIG_BLOCK, &fullsigmask, &tmp_oldsigmask); > if (cmpxchgl(0, WAFLAG, &l->lock) == 0) > break; > sigprocmask(SIG_SETMASK, &tmp_oldsigmask, NULL); > + while (l->lock & WAFLAG) > + ; /* Spin */ > } That did not help at all. I just got a hang again. Martin 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?20020806170810.K58571-100000>