bitcoin/bitcoin — pull request #1033 by sipa (2012-04-04 15:36:33+00:00)
Title: Condition variables instead of polling

See the commit messages for more details.