[eclipse-clp-users] Controlling lifetime of variables from Java

From: Wit Jakuczun <wit.jakuczun_at_...6...>
Date: Tue, 3 Jun 2008 16:19:07 +0200
Hi,
   what is a policy for lifetime of variables posted via
Java interface? Suppose I make a rpc call that
creates a variable (eg. I call predicate pred(V) ).
I store this variable as a CompoundTerm on a
Java side (using arg method) and use it in another
rpc calls.

Is it correct approach? How variables stored
in CompoundTerm are protected from being
removed by gc?

Best regards
-- 
[ Wit Jakuczun w.jakuczun@...116... ]
[ WLOG Solutions http://wlogsolutions.com ]
Received on Tue Jun 03 2008 - 07:19:22 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 09 2018 - 02:05:29 CEST