Re: Networking in Prolog - a survey
- From: A.L. <alewando@xxxxxxxxxx>
- Date: Wed, 21 May 2008 13:23:22 -0500
On Wed, 21 May 2008 10:49:23 -0700 (PDT), Alessio Stalla
I think the current architecture (with small modifications) could
allow to run the event handler code with a separate prolog stack, so
there's no need to make the interpreter loop synchronized. My main
concern is not multithreading per se, but giving the user access to a
full-blown threading api in prolog, which would require some effort.
If I limit the handling of threads to be only on the Java side, I can
avoid that concern for now. Of course that doesn't really solve the
problem in general since the code triggered by events will eventually
have to cooperate with code running on the main thread, but in my
limited scenario, in which event handling will simply be some limited
processing of the received data and possibly an assert to augment the
current theory, that problem isn't influent.
The above is such clever that I din't undrestand single word...
But.,.. Have you seen Prolog Beans and Linda in SICStus Prolog?...
A.L.
.
- Follow-Ups:
- Re: Networking in Prolog - a survey
- From: Alessio Stalla
- Re: Networking in Prolog - a survey
- References:
- Networking in Prolog - a survey
- From: Alessio Stalla
- Re: Networking in Prolog - a survey
- From: rupertlssmith@xxxxxxxxxxxxxx
- Re: Networking in Prolog - a survey
- From: Alessio Stalla
- Networking in Prolog - a survey
- Prev by Date: Re: Networking in Prolog - a survey
- Next by Date: Re: Networking in Prolog - a survey
- Previous by thread: Re: Networking in Prolog - a survey
- Next by thread: Re: Networking in Prolog - a survey
- Index(es):