igrigorik/em-synchrony — pull request #116 by funny-falcon (2012-03-13 00:26:10+00:00)
Title: Fix mutex

Use `EM.next_tick{ f.resume }` to wakeup locked Fiber instead straight `f.resume` to allow event loop do its job as scheduler of Fibers (like OS's thread scheduler do)

Opens possibility for Monitors https://gist.github.com/2025370