[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
   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_at_...116... ]
[ WLOG Solutions http://wlogsolutions.com ]
Received on Tue Jun 03 2008 - 07:19:22 CEST

This archive was generated by hypermail 2.3.0 : Sun Aug 25 2019 - 06:15:50 CEST