Don't use a block when locking Celluloid::Mailbox... for speed!
Don't use a block when locking Celluloid::Mailbox... for speed!

Charlie Nutter submitted this patch via gist:

https://raw.github.com/gist/1592961/40f83714811e4ce6e5e1fea25277079e5a29bc23/mailbox.patch

It improves messaging performance on MRI/YARV and JRuby by using
lock/unlock directly instead of a block.

celluloid/framework