[fpc-pascal] Call function in shared library from multiple threads

Michael Van Canneyt michael at freepascal.org
Thu Mar 30 19:56:27 CEST 2017



On Thu, 30 Mar 2017, Krzysztof wrote:

> 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

If I find a moment, I will test.

Michael.



More information about the fpc-pascal mailing list