Tibor17 commented on pull request #77: URL: https://github.com/apache/maven-resolver/pull/77#issuecomment-723502847
It looks like the `ForkJoinPool` may substitute [SyncContext](https://maven.apache.org/resolver/maven-resolver-api/apidocs/org/eclipse/aether/SyncContext.html). If the parent Artifact sees the children > 0 then the parent Thread would fork to children threads. That's the mechanism how the locks are shared in the thread pool but it is already implemented in Java. btw. the usecase in `NamedLockFactoryTestSupport.java` looks like the one which exists in Java, I mean `CyclicBarrier` or `Phaser` . ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
