Disliked... While I agree that this is a good idea, it has nothing to do with a thread safe API.Ignored
The next time that I notice I will post it here.
Since I am C++ expert(-ish) and not Java expert I am not wise enough to know whether the runtime system supports code locking, however that can be coded manually ... so most likely no....
Carbon-Dioxide: the gas of life!