In the docs for, CountDownLatchI see something like:
CountDownLatch
public void run () { try { startSignal.await (); doWork (); doneSignal.countDown (); } catch (InterruptedException ex) {} // return; }
Where startSignaland doneSignalare the objects CountDownLatch.
startSignal
doneSignal
The docs say nothing about whether the class is thread safe or not.
Since it is intended to be used by multiple threads, it would be fair to assume that it does not contain threads to most thread safety values.
There is even a random action (from your link ):
: , countDown() () .
, countDown? ? , countDown .
countDown