Sirupsen/sysvmq — pull request #4 by Sirupsen (2014-02-24 01:39:50+00:00)
Title: Skip GVL on IPC_NOWAIT

When `IPC_NOWAIT` is passed to the wrappers of `msgsnd(2)` or `msgrcv(2)`, skip the expensive GVL release/acquire cycle. `IPC_NOWAIT` makes sure `msgsnd(2)` won't block on a full queue and that `msgrcv(2)` won't block on an empty queue. Instead it'll raise `EAGAIN` or `ENOMSG` (the value of `errno`).

This adds extra webscale because GVL unlocking is expensive.

Please review @csfrancis @fbogsany