Vidur, I *did* finally check in the nsThreadJSContextStack stuff. The interface is at: http://lxr.mozilla.org/mozilla/source/js/src/xpconnect/idl/nsIJSContextStack.idl The implementation (if you care) is at: http://lxr.mozilla.org/mozilla/source/js/src/xpconnect/src/xpcthreadcontext.cpp There is an example usage at: http://lxr.mozilla.org/mozilla/source/js/src/xpconnect/tests/TestXPC.cpp#1133 xpconnect registers the service using the progid "nsThreadJSContextStack". As far as I know this works. The only race should be the init that will happen on the very first use. John.
Status: NEW → ASSIGNED
Whiteboard: Have additions in my tree. Will land for M10.
Target Milestone: M10
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
Calls to push and pop contexts checked in on 8/19/1999. Jband will probably need to verify.
Jband could you verify this one please ?
You need to log in before you can comment on or make changes to this bug.