[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Issue - 166 - Does atomicity in assign imply variable locking?
This issue has been added to the wsbpel issue list with a status of "received". The status will be changed to "open" if the TC accepts it as identifying a bug in the spec or decides it should be accepted specially. Otherwise it will be closed without further consideration (but will be marked as "Revisitable")
The issues list is posted as a Technical Committee document to the OASIS WSBPEL TC pages on a regular basis. The current edition, as a TC document, is the most recent version of the document entitled in the "Issues" folder of the WSBPEL TC document list - the next posting as a TC document will include this issue. The list editor's working copy, which will normally include an issue when it is announced, is available at this constant URL.
int counter
counter = 0
flow
sequence
counter = counter + 1;
if (counter == 2) {
throw "counter is 2"
}
sequence
counter = counter + 1;
if (counter == 2) {
throw "counter is 2"
}
If assign doesn't imply placing a read/write lock on variables
referenced in the assign then it is possible for the previous code to
exit without ever throwing a fault. After all, both assigns could
execute simultaneously, both read in the same value (0), both add 1 and
both write out the same counter value, 1 and thus both end without
throwing a fault.
scope variableAccessSerializable="yes"
flow
assign
...
assign
...
To comment on this issue (including whether it should be accepted), please follow-up to this announcement on the wsbpel@lists.oasis-open.org list (replying to this message should automatically send your message to that list), or ensure the subject line as you send it starts "Issue - 166 - [anything]" or is a reply to such a message. If you want to formally propose a resolution to an open issue, please start the subject line "Issue - 166 - Proposed resolution", without any Re: or similar.
To add a new issue, see the issues procedures document (but the address for new issue submission is the sender of this announcement).
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]