Thread safety of stock predicates ?

emacstheviking <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <CAEiEuUKLMM3Ba3TztQni0ga5urhiEpJTebfyUiv-1NFm-=wQqQ@mail.gmail.com>
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
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.