W3C home > Mailing lists > Public > public-ws-chor-comments@w3.org > January 2005

FW: Last Call Issue: WORKUNIT GUARD CONDITION SEMANTICS

From: Martin Chapman <martin.chapman@oracle.com>
Date: Mon, 10 Jan 2005 14:50:28 -0000
To: <public-ws-chor-comments@w3.org>
Message-ID: <009d01c4f723$b9e97f60$0901a8c0@ie.oracle.com>
 

-----Original Message-----
From: public-ws-chor-request@w3.org
[mailto:public-ws-chor-request@w3.org] On Behalf Of Gary Brown
Sent: 05 January 2005 14:18
To: public-ws-chor@w3.org
Subject: Last Call Issue: WORKUNIT GUARD CONDITION SEMANTICS


Currently if guard evaluates to false, when block=true, it will continue
to block until the guard evaluates to true

Although I can see that having the ability to block until a condition
(e.g. OrderValue > 3000) is true is useful - I believe this will make it
harder to infer flow from a CDL document, as the determination of
dependencies between different concurrent threads now becomes more
complex, as the actual nature of the execution of a choreography will be
dependent upon runtime variable values. 

In the most extreme case, you could imagine a choreography having a
single <parallel> construct with 'n' workunits, all having defined
blocking conditions, where the flow is determined only by inferring the
potential links between the cause and effect of activities within the
workunits, that may change values that would then cause other workunits
to become enabled. Although this is not the most likely usage of CDL,
the fact that we provide mechanisms that support this usage means that
we also have to provide model checking to support this - and I think
such uses would lead to a state explosion of possible outcomes, which
would go against the stated aim of making model checking easy. 

I believe the "block until" mechanism is a good implementation technique
for building event based systems - however CDL is a description
language, and I don't think this approach is useful for building a good
description of the interactions between distributed participants.

Regards
Gary and Steve
Received on Monday, 10 January 2005 14:49:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:20:10 GMT