fiber/base: avoid negative sleep interval
commite794a40049959a23ba311c572e518bb7c2861812
authorEric Wong <normalperson@yhbt.net>
Fri, 24 Aug 2012 23:03:17 +0000 (24 23:03 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 27 Aug 2012 20:07:04 +0000 (27 20:07 +0000)
treeb97f197cc66f51a7844edb0ca3bff84e65abafde
parent12281e4cee86496588814cd1851e8764caea024c
fiber/base: avoid negative sleep interval

Also clarify the code while we're at it.
Thanks to Lin Jen-Shin for pointing this out.

ref: http://mid.gmane.org/CAA2_N1unOXb7Z4Jr8oKoSLu266O9Ko4o=oWzAcMA1w3=9X74KA@mail.gmail.com
lib/rainbows/fiber/base.rb