ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafal Rusin <rafal.ru...@gmail.com>
Subject Re: ODE1X critical sections in bpel
Date Thu, 05 Mar 2009 12:43:24 GMT
Actually, one solution is to add active waiting and global variable, like this:

$entered = false

while not $entered {
wait some time
}
$entered = true
some work..
$entered = false

I wonder if there is something better.

2009/3/5 Rafal Rusin <rafal.rusin@gmail.com>:
> Hello,
>
> I'd like to have a critical section in bpel. I saw there's no support
> for construct <scope isolated="yes"> in ODE1X.
> Are there any implementation obstacles for implementing it?
> Or maybe there is some other way of doing critical section. I saw
> atomicScopes are implemented in ODE1X. But as I read, they are just to
> execute some work in transaction, which may be concurrent. So this is
> not a critical section. But maybe there is some way?
>
> Regards,
> --
> Rafał Rusin
> www.mimuw.edu.pl/~rrusin
>



-- 
Rafał Rusin
www.mimuw.edu.pl/~rrusin

Mime
View raw message