RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

The Self-Pipe Trick Explained

This post explains the only safe way to handle Unix signals in the face of waiting on file descriptors (eg. sockets, pipes). This technique is used by awesome server software like Unicorn, Passenger, Foreman, and non-Ruby projects like nginx. Give it a read on RubySource.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in