From nobody@lists.bilkent.edu.tr Thu Sep 27 15:50:19 2001
Received: from lists.bilkent.edu.tr (IDENT:root@lists.bilkent.edu.tr [139.179.10.6])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f8RDoHv29319
	for <prolog@swi.psy.uva.nl>; Thu, 27 Sep 2001 15:50:17 +0200 (MET DST)
Received: (from nobody@localhost)
	by lists.bilkent.edu.tr (8.9.3/8.9.3) id PAA19198;
	Thu, 27 Sep 2001 15:49:57 +0300
Date: Thu, 27 Sep 2001 15:49:57 +0300
Message-Id: <200109271249.PAA19198@lists.bilkent.edu.tr>
From: mdonder@cs.bilkent.edu.tr
To: prolog@swi.psy.uva.nl
X-Mailer: BasiliX v0.9.7 -- http://www.basilix.org
Subject: [SWIPL] Calling Prolog from within foreign threads!


Hi,

I guess my previous message was a bit confusing. Hence, I would like make
it much clearer and shorter so that I could get an answer from you. 

My question is simply as follows:

Is it possible to create a Prolog engine from within each Java thread (foreign thread) while there are several of them running concurrently? I need each thread to have its own facts-base because each should be able to process different data set comprised of facts stored as Prolog files. If this is not recommended or possible, I wonder if there is any other way of achieving what I want to do?

I would also be very much grateful if someone could e-mail me some example code on Prolog threads.

Thanks in advance,

  
Mehmet Emin Donderler
Ph.D. Candidate of CS
Bilkent University

