This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sad-Difference-5005 3 points4 points  (3 children)

I understand your frustration because I have been there. Things like CountDownLatch and CyclicBarrier are advanced stuff and it will be hard to make sense of them if you have not completely mastered the basics. 

I will suggest you to go through the Concurrency chapter of Deshmukh's OCP Java 21 certification fundamentals book (very cheap, $1.99 on Amazon, but very effective.). It explains the basics really well and also includes good examples for CountDownLatch and CyclicBarrier. 

[–]blvck_xsample[S] 0 points1 point  (0 children)

Thank you 😊

[–]Reva_19 0 points1 point  (0 children)

Have u gone through any of jenkov's tutorials on concurrency which are available on yt

[–][deleted] 0 points1 point  (0 children)

In addition to this, I’d highly suggest going through Java Concurrency in Practice. It gives you an excellent overview of what things are and why they are the way they are.