Mercurial > urweb
annotate tests/clib.urp @ 2166:8a01e8f21de9
Make OpenSSL usage thread-safe (closes #206)
Enable OpenSSL?s multithreading support by defining locking and
thread-ID callbacks. Remove a lock obviated by this change.
author | Benjamin Barenblat <bbaren@mit.edu> |
---|---|
date | Thu, 06 Aug 2015 10:15:53 -0400 |
parents | eac1974924bb |
children |
rev | line source |
---|---|
adamc@767 | 1 ffi test |
adamc@767 | 2 include test.h |
adamc@767 | 3 script http://localhost/test/test.js |
adamc@767 | 4 link test.o |
adamc@767 | 5 effectful Test.print |
adamc@767 | 6 serverOnly Test.foo |
adamc@767 | 7 clientOnly Test.bar |
adamc@771 | 8 effectful Test.transactional |
adamc@767 | 9 jsFunc Test.print=print |
adamc@767 | 10 jsFunc Test.bar=bar |