How Erlang does scheduling (jlouisramblings.blogspot.com)