Ok, I started to look at them, but I didn't see this oneTake a look to the multi-threading examples in the current Logtalk development version, especially to the "primes" example.
For now I am using lgt 2.31.4 and swi-prolog available at the university ... I don't really know the version, but I think I will get the last one for my experimentsIf you chose to use the latest development version of Logtalk to take advantage of the multi-threading features, be sure to use the latest development versions of SWI-Prolog or YAP. There is at the moment an incompatibility with the development version of XSB that I hope to be solved soon.
Thanks you for your help