pika/pika — pull request #509 by gmr (2014-10-13 19:50:57+00:00)
Title: Ensure frames can not be interspersed on send

Address #507 by adding a write lock and making message sending append to the output buffer directly instead of frame-by-frame.