Patch for running Java2D demo (jdk-1.4.1p3_3)

Daniel Eischen eischen at pcnet1.pcnet.com
Mon May 5 04:12:58 PDT 2003


On Sun, 4 May 2003, Terry Lambert wrote:

> David Xu wrote:
> > From: "Daniel Eischen" <eischen at 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



More information about the freebsd-threads mailing list