Date: Sun, 27 Apr 2003 11:02:05 -0400 (EDT) From: Daniel Eischen <eischen@pcnet1.pcnet.com> To: David Xu <davidxu@viatech.com.cn> Cc: freebsd-threads@freebsd.org Subject: Re: pthread_join Message-ID: <Pine.GSO.4.10.10304271048300.20259-100000@pcnet1.pcnet.com> In-Reply-To: <000e01c30cb4$30289b40$0701a8c0@tiger>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Apr 2003, David Xu wrote: > I found I can not get the following race fixed: > Thread A is a joiner of thread B, thread C calls pthread_cancel on A, > because of multipile scheduler locks, I can not get the race fixed. > Is it possible we just use a single scheduler lock to simplify things a bit? Hmm, you mean if thread A is already joined on B? I don't see the race. Everything looks right. We don't take multiple scheduling locks at the same time, so everything should work. -- Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10304271048300.20259-100000>