GNOME Bugzilla – Bug 613106
support build with mozilla-js that compiled with --disable-threadsafe --enable-debug
Last modified: 2010-03-17 17:35:28 UTC
Created attachment 156324 [details] [review] support build with mozilla-js that compiled with --disable-threadsafe --enable-debug support build with mozilla-js that compiled with --disable-threadsafe --enable-debug
Review of attachment 156324 [details] [review]: This looks pretty straight-forward to me. There's a probably a bit more to be done to make Gjs completely threadsafe, but I guess it can be done in follow-up patches. https://developer.mozilla.org/en/JS_THREADSAFE and https://developer.mozilla.org/En/SpiderMonkey/Internals/Thread_Safety contains instructions on how to make gjs threadsafe.
The patch looks fine just to make it build but I'd say there's a lot more than a bit more to actually be threadsafe ;-) more like "good luck!"