Richard Searle


Implementing actors in shell scripts using self-pipe

17 Feb 2015

This discussion of the self pipe and how it is used to reliably handle signals is very interesting. A neat *nix technique that I had not previously encountered.

This technique is actually implementing an actor:

The goals are identical: map asynchronous requests into a thread safe process.