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 <[email protected]>:
> 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