Subj : Re: Narrowed the problem down to... To : Sterling Bates From : Brendan Eich Date : Tue Nov 04 2003 06:19 pm Sterling Bates wrote: >No, just one thread. One object inits a JSRuntime and a JSContext, and I >use a reference to the JSContext in the other object. > > That's not good design in general (not saying your particular solution is bad): object is to thread (context) as fish is to bicycle. An object might track which runtime contained it in the runtime's GC heap. But context makes no sense, unless you're very sure you will always have only one context per runtime. /be .