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

Reply via email to