Skip to main content
3 events
when toggle format what by license comment
Apr 26, 2016 at 21:52 comment added Winston Ewert @Stargazer712, its an implementation detail, but in my experience, the workers are usually launched in a thread pool and I've got some sort of future which uses a lock of some sort to implement its waiting logic.
Apr 26, 2016 at 21:44 comment added riwalk This is a nice simple example. Note that waitForWorkerToFinish() probably doesn't do a lock, but rather just does some form of Thread.join(), which is different.
Apr 26, 2016 at 21:39 history answered Winston Ewert CC BY-SA 3.0