5
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 16 Jun 2023
5 points (100.0% liked)
Java
1395 readers
1 users here now
For discussing Java, the JVM, languages that run on the JVM, and other related technologies.
founded 1 year ago
MODERATORS
Those sound useful. I haven't had to do much cross-thread synchronization thankfully, but I have had to use a
BlockingDeque
to check that some events came and in the right order. TheCountDownLatch
andPhaser
may have been better.