Subj : Re: User Breakpoints ( int 3) from js_PurgeDeflatedStringCache To : netscape.public.mozilla.jseng From : Jaspreet Date : Tue May 24 2005 06:40 am Hi Brendan ! >Why not just use NSPR? What is the conflict with your own Runtime Environment? I am using a proprietary middleware that wraps out all os related calls. The middleware also provides some additional functionality related to messaging. In fact the _only_ thread that calls Spidermonkey is a message processing task and the system ensures that this task is not preempted. As per the criteria "You need to compile with JS_THREADSAFE if you access the JS API from more than one thread at once ", i should not need to use JS_THREADSAFE as the JS API is called only from one thread... and to make sure nothing funny was going on.. i ensure that calls to JS API are wrapped with mutexes.... ( the system would have ensured this anyway.. but i did this as an additional check) Now the thing is that if i need NSPR... then i need to implement it for my middleware... which is something i am not very high on..;-) for understandable reasons.. but if someone can confirm that it is __the only__ way forward.. i will do it... ( or rather will have to do it ) regards, Jaspreet .