On 01/29/2016 04:54 PM, Pasi Xyy wrote:
> Maybe this is the case. There is a limit for how many slaves/servers it
> is possible to create by master/client, the limit is 3
> current_pengine_application/1
> <
http://www.swi-prolog.org/pldoc/doc/usr/lib/swi-prolog/library/pengines.pl?show=src#current_pengine_application/1>
>
> So the pengine_event_handler/3 can handle just three remote pengines
> when created like pengine_create([ ... server(IPaddress) ...]).
> pengine_rpc/2 can deal with many more. I am not sure why the limit is
> just 3??? I believe the pengine_rpc/2 is being used under the hood while
> using event handlers???
The limit is low to avoid overloading the server by forgetting to close
the unused pengines. pengine_rpc/2 takes care of the destruction.
Cheers --- Jan
> In documentation, the remote pengines are in master--slave perspective
> called slaves, and in client--server perspective called servers. This is
> confusing.
>
> --
> You received this message because you are subscribed to the Google
> Groups "SWI-Prolog" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
swi-prolog+...@googlegroups.com
> <mailto:
swi-prolog+...@googlegroups.com>.
> Visit this group at
https://groups.google.com/group/swi-prolog.
> For more options, visit
https://groups.google.com/d/optout.