Stop spamming the CPU with -[MessageQueue dequeueAndSendBlocks]. message-queue
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 24 Oct 2015 06:33:44 +0000 (02:33 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 24 Oct 2015 06:38:23 +0000 (02:38 -0400)
commitf6e88998b7df9ec7e329de461a71c9c13a2f4079
treebe00cc80ee50895dd2cae2a910e722f790d1df6e
parent98f5d5bc4059ed41e573dba94f12f158519a60a3
Stop spamming the CPU with -[MessageQueue dequeueAndSendBlocks].

This significantly uses CPU usage by suspending the write dispatch source until
a message comes in.
Source/MessageQueue.m