[OPEN-ILS-DEV] Spidermonkey Threadsafe Patch

Thomas Berezansky tsbere at mvlc.org
Wed Jul 28 17:27:29 EDT 2010


I don't know if anyone else has this issue, but we do and at least one  
of the other locations we are working with does.

The issue is that SpiderMonkey won't build and test with the  
-JS_THREADSAFE option specified on any x64 Ubuntu version I have used.

The two attached patches attempt to resolve this, but do so slightly  
differently. The threadsafe patch file adds an option to turn the  
threadsafe option on, defaulting it to off. The nothreadsafe option  
adds an option to turn the threadsafe option off, defaulting it to on.

Technically the nothreadsafe patch keeps the current default behavior,  
but I think the threadsafe patch is the better way of doing it.

Thomas Berezansky
Merrimack Valley Library Consortium




-------------- next part --------------
A non-text attachment was scrubbed...
Name: threadsafe.patch
Type: text/x-patch
Size: 1061 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100728/5d2b406f/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nothreadsafe.patch
Type: text/x-patch
Size: 1064 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100728/5d2b406f/attachment-0001.bin 
-------------- next part --------------
Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>


More information about the Open-ils-dev mailing list