Date: Mon, 5 May 2003 07:12:48 -0400 (EDT) From: Daniel Eischen <eischen@pcnet1.pcnet.com> To: Terry Lambert <tlambert2@mindspring.com> Cc: threads@freebsd.org Subject: Re: Patch for running Java2D demo (jdk-1.4.1p3_3) Message-ID: <Pine.GSO.4.10.10305050710430.15251-100000@pcnet1.pcnet.com> In-Reply-To: <3EB60924.A595C548@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 4 May 2003, Terry Lambert wrote: > David Xu wrote: > > From: "Daniel Eischen" <eischen@pcnet1.pcnet.com> > > > Yes, I think so. You can try the patch I posted in: > > > > > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=179964+0+archive/2003/freebsd-threads/20030504.freebsd-threads > > > > > > to see if that fixes the problem with rtld-elf. I don't want to commit it > > > because it would break round-robin scheduling. > > > > Is there anyone working on rtld-elf problem? > > Dan is; Alexander Kabaev is. > > Personally, I don't think this is justifiable, and that the > problem is actually a coding error in the threaded program, > with failure to comply with the POSIX and Single UNIX > Specification when writing your threaded program. The pthreads > documentation seems to back me up (Chapter 12 of "Go Solo 2", > as well as Corrigenda). It *is* an rtld-elf problem. I've protected dlfoo() all with the same mutex and it still hangs. rtld-elf uses spinlocks in areas that aren't called by dlfoo(). -- Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10305050710430.15251-100000>
