From: Steve Yegge <stevey@ca...> - 2001-06-26 22:13:20
Works for me. Check out http://www.cabochon.com. I have
about five jython interpreters in the game for different
purposes, plus one per wizard character.
> > Does anyone know how difficult it is to get multiple embedded Jython
> > interpreters running in the same Java process in separate threads?
> > I'm writing a multi-user game engine using Jython as the interactive
> > programming environment. Each interpreter instance has its stdout/stderr
> > redirected to a network connection.
> > The problems I seem to have are:
> > stdout/stderr for all instances get redirected to the last one set.
> > If I try to 'set' a variable in one interpreter from another, the
> > variable gets lost.
> > Thanks in advance,
> > Adrian St. John