bitcoin/bitcoin — pull request #602 by wowus (2011-11-02 08:35:17+00:00)
Title: Cleaned up critical section code.

Instead of using an ugly loop hack that swallows break and continue, I have replaced it with a simple if statement.

Please comment and/or apply!