[fpc-pascal] Call function in shared library from multiple threads
Krzysztof
dibo20 at wp.pl
Thu Mar 30 19:03:26 CEST 2017
2017-03-30 15:19 GMT+02:00 Michael Van Canneyt <michael at freepascal.org>
>
>
> Nevertheless, that should work.
>
> I've used it in multi-threaded apache modules.
>
Well it doesn't work or fpjson module is not thread safe in this case. You
can test it by yourself with attached demo (first post). Try it few times
because sometimes if you are lucky then there is no error
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170330/020fa60e/attachment.html>
More information about the fpc-pascal
mailing list