Closed kpu closed 4 years ago
Please explain the semantics of the state LOADING.
LOADING
https://github.com/bitextor/pdf-extract/blob/4ad28a23817851355ba65b6b4699a8f01b2cb760/src/pdfextract/SentenceJoin.java#L72
It seems the only way this can be visible outside the start() function is either:
start()
ERROR
_workerStatus()
Please explain the semantics of the state
LOADING
.https://github.com/bitextor/pdf-extract/blob/4ad28a23817851355ba65b6b4699a8f01b2cb760/src/pdfextract/SentenceJoin.java#L72
It seems the only way this can be visible outside the
start()
function is either:ERROR
start()
function is entered twice for the same worker, in which case there is a race condition for the value of_workerStatus()
and it's still possible to enter multiple times.