I think Sven Siorpaes wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hello,
> 
> I wonder if it is save to fetch data from Java after calling the run
> method. Could there be any problems with not ended executions of the rules
> when fetching data from Java?

Jess doesn't create any threads of its own. If you call Rete.run() and then
fall (for example) Rete.fetch() in the same thread, then (since run()
will have returned) there will be no more rules firing.

If you've got multiple threads, then it's certainly possible to fetch
partial results, depending on how you report results, of
course. Therefore, you have to do some kind of signalling between
threads, just as you would do in Java code.



---------------------------------------------------------
Ernest Friedman-Hill  
Advanced Software Research          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to