Thread safety of stock predicates ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Thread safety of stock predicates ?

emacstheviking
Hi,

There was a question lately about the re-entrancy viability of C => Prolog => C => C

I have another related question but only pure Prolog this time: I am coding up a really simple web server and if I use fork to spawn a child thread to handle the request, can I be sure of not having issues about using any stock predicates in each thread?

Are all predicates thread safe is the question the?

And the answer is................?

Thanks,
Sean.


_______________________________________________
Users-prolog mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/users-prolog