From swi-prolog-list@usa.net Fri Mar  2 08:54:20 2001
Received: from nwcst290.netaddress.usa.net (nwcst290.netaddress.usa.net [204.68.23.35])
	by swi.psy.uva.nl (8.11.2/8.11.2) with SMTP id f227sJZ20926
	for <prolog@swi.psy.uva.nl>; Fri, 2 Mar 2001 08:54:19 +0100 (MET)
Received: (qmail 28957 invoked by uid 60001); 2 Mar 2001 07:54:17 -0000
Message-ID: <20010302075417.28956.qmail@nwcst290.netaddress.usa.net>
Received: from 204.68.23.35 by nwcst290 for [172.129.198.110] via web-mailer(34FM.0700.16.05) on Fri Mar  2 07:54:17 GMT 2001
Date:  2 Mar 2001 00:54:17 MST
From: Mehmet Hocaoglu <swi-prolog-list@usa.net>
To: prolog@swi.psy.uva.nl
X-Mailer: USANET web-mailer (34FM.0700.16.05)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by swi.psy.uva.nl id f227sJZ20926
Subject: [SWIPL] Concurrent programming

Hi,

Does anybody know how to write a concurrent program in SWI-Prolog. I need a
program that executes some tasks while listing a socket port to get some
information from another program (for example, written in JAVA). As far as I
know, this problem can be solved executing two separate program part in
concurrent way. I mean, different prolog predicates in the same prolog program
will be active at the same time, while one of them listing the socket port the
other one executes some operations at the same time.

Thanks for help,

Best regards 

Fatih

 


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

