I was reading the excerpt from your book found at www.onjava.com site. You have mentioned that unlike synchorined methods critical sections do not nest. Coud you please explain.
The good thing with O'Reilly running an excerpt is that we don't actually have to write an article...
... the bad thing is that it is an excerpt -- things are taken out of context. My other issue is that they choose chapter 6, which will get really difficult later. In fact, the book actually recommends that the later section gets skipped and revisited after playing with the examples a bit.
In this case, the discussion of nesting locks was done a couple of chapters eariler, but since it was out of context, it may be confusing.
Hmmm... as a side note, it has been awhile since I coded Windows threads, but I don't even think the statement is true anymore... thanks for the head up, we may have accidently let an error slip through...
Henry