Multiple instances of Kaffe
edward.llewellyn at wayne.com
Fri Jan 21 06:40:36 PST 2000
I think y'all are probably right - it's a problem specific to NT/cygwin. We
are running into other problems
(crashes, assertion failures) with the Kaffe version on NT/cygwin. It looks
like I'll be able to get the
custom version of kaffe for win32, which is compiled with the Visual C++
compiler, which hopefully will
work better. In any case, I won't have to learn a new debugger to debug the
Thanks for the help.
> -----Original Message-----
> From: Godmar Back [SMTP:gback at cs.utah.edu]
> Sent: Thursday, January 20, 2000 9:34 PM
> To: kaffe at rufus.w3.org
> Subject: Re: Multiple instances of Kaffe
> > Edward Llewellyn writes:
> > > Is it possible we could run multiple instances of Kaffe on the same
> > > program? The reason I ask is because
> > > we have an embedded app with two screens (for two users). We may need
> > > run multiple copies of
> > > a browser, one for each user, or possibly multiple copies of other
> > >
> > > I tried running Kaffe twice on the same .class file, and while this
> > > sometimes works, it also sometimes
> > > crashes with a NullPointerException on one of the instances. What's
> > > problem here? Is Kaffe
> > > not reenterent? I would think at least some of it would be in order
> > > support multiple threads
> > > in a single app.
> > >
> > > I attempted this on Windows NT, with Kaffe compiled with Cygnus
> > > cygwin32. I tried running
> > > Kaffe both in one bash shell (with one in the background) and two bash
> > > shells.
> > This sounds like an NT/cygwin problem.. on UNIX of course you can
> > always run the same code in two different processes.
> I believe that's not quite what was asked.
> If kaffe, for instance, opened .class files in exclusive mode (and kept
> them open), you couldn't run two instances of kaffe on the same .class
> This is possible in Unix also. I don't think we do that, though.
> I also suspect it's a problem that's specific to kaffe on NT/cygwin.
> Make sure you're not searching in the wrong direction; maybe it's an
> intermittent problem that's not restricted to the second instance at all.
> - Godmar
More information about the kaffe