I have been searching for tips and techniques on answering Threads and Concurrency related questions here at JavaRanch. But I couldn't find any. Google search neither returns nice articles about tips on answering such kind of questions.
In the mocks if I encounter the
word Thread I would often skip and then answer them last. It pretty scares me. I always get failing scores on Threads part on Mocks. I get low scores from other topics too but I guess this topic is where I'm least confident.
Do you know any articles about techniques on answering Threads and Synchronization?
For example, I found
Corey's post about Garbage Collection very helpful. I thought pictures are for kids only so I refused to draw before and tried to picture what is happening only in my mind. When I read that post, I found out that what I was doing was very wrong. So I started drawing (and writing).
For Threads, usually I write the threads being started in columns and then write their corresponding outputs. After that I try to analyze the combination possibilities. However at some point my flow of thoughts just suddenly becomes unorganized.
I hope you can share your insights on how you answer Threads/Concurrency questions. Thank you!
[ September 02, 2008: Message edited by: Denise Saulon ]