33daee971b
This fixes a potential threading-issue, where the wacther could be used before it was fully initialized, if 'wait' woke up before notify. BUG= R=sgjesse@google.com Review URL: https://codereview.chromium.org//39713002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29163 260f80e4-7a28-3924-810f-c04153c831b5