You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Rafal Rusin <ra...@gmail.com> on 2009/03/05 12:09:30 UTC
ODE1X critical sections in bpel
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
Re: ODE1X critical sections in bpel
Posted by Rafal Rusin <ra...@gmail.com>.
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 <ra...@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