I would also wish to throw in a samll comment here.  It was not my intent
either to comment on thread safety in JESS; it has alway been my
understandng that it was thread safe.  What attracted my eye was that the
pattern (which clearly works) appears to manage a resource contention and
allocation issue as a side effect rather than explicitly.  If this is the
case then its long term stability might be at risk should there be
implementation changes at some future date.  Not knowing enough about JESS
per se I may have gone bopping down the wrong path (commonly known as a firm
grasp of the wrong end of the stick).

Al

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of [EMAIL PROTECTED]
Sent: Friday, September 05, 2003 7:24 PM
To: [EMAIL PROTECTED]
Subject: Re: JESS: Defrule ordering woes


I think Alan Moore wrote:
>
> I've employed this pattern repeatedly and it works like a charm. Throw in
a
> FutureResult for good measure and you've got a fast, reliable, thread-safe
> system.

This is indeed a good way to get the grouping semantic we're talking
about; I did want to point out that Jess is normally thread-safe
anyway even if assertions and rule-firings happen in different
threads (just in case anyone got a different impression from your
message.)

>
> alan
>

---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems 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]
--------------------------------------------------------------------

--------------------------------------------------------------------
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