dotcloud/docker — pull request #366 by creack (2013-04-09 15:11:21+00:00)
Title: Remove the mutexes and use chan instead in order to handle the wait lock

Much clearer lock system. No conditional mutex, just block/unblock.