Review request for 6829503
Rémi Forax
forax at univ-mlv.fr
Sun Apr 19 20:51:23 UTC 2009
Martin Buchholz a écrit :
...
> It seems to me there is an inherent race condition with such
> a check-then-act sequence, unless there is a mechanism for
> the application to hold some kind of shutdown hook lock.
>
> Martin
>
I don't think so.
The idea is just to prevent users to use some methods in a shutdown hook
when the VM terminates.
It's rather a chek-then-don't act.
Rémi
More information about the core-libs-dev
mailing list