Closed JohnRDOrazio closed 3 years ago
Actually the problem here wasn't just a synchronization of threads, it was because I was using a List
rather than an ArrayList
, and List
s are immutable. An ArrayList
was needed in order to be able to remove
elements. Fixed in commit a90f39ee3b967308d187732fa52e5494ef252695
Issue #18 can almost be closed. However there is this one issue that needs to be dealt with first. There seems to be some trouble in synchronizing threads when issuing bash commands using
ProcessBuilder
andExecutorService
. The output of the bash command never completes in theStreamGobbler
thread, which is unable to operate on theBibleGetIO.sysPkgsNeeded
ArrayList in the main thread. How to deal with this? (more details of who, when, where and what coming soon)