I'm just starting up with Java Mulithreading.
Below is the repo I set up, and I am having trouble with this test I am doing playing around with Executor threadpools. I am trying to setup a managed system where I first add some lines to be printed, then add the work to the work pool, and then finally launch n number of threads to handle the work (or in this case, print out the strings I added to WorkManager instance fields). I watched this series of videos starting with this one: https://www.youtube.com/watch?v=YdlnEWC-7Wo, and I planned on playing with the concept of multithreading, but it doesn't seem to work and gets stuck at Thread1:27. I thought that by synchronizing access to the ListIterator return, that it would not block.
https://github.com/hhbhagat/ThreadPoolTest
Thanks.