boostorg/asio — pull request #10 by tempoz (2014-12-08 20:30:59+00:00)
Title: Only write to locked_ while we hold the lock

To avoid race conditions, locked_ should be set to false before we release the lock.