ext/kgio/wait.c in kgio-2.0.0 vs ext/kgio/wait.c in kgio-2.1.0

- old
+ new

@@ -9,11 +9,11 @@ * probably safe... */ /* - * Blocks the running Thread indefinitely until +self+ IO object is writable. + * Blocks the running Thread indefinitely until +self+ IO object is readable. * This method is automatically called by default whenever kgio_read needs * to block on input. * * Users of alternative threading/fiber libraries are * encouraged to override this method in their subclasses or modules to @@ -27,12 +27,13 @@ return self; } /* - * blocks the running Thread indefinitely until +self+ IO object is writable + * Blocks the running Thread indefinitely until +self+ IO object is writable. * This method is automatically called whenever kgio_write needs to * block on output. + * * Users of alternative threading/fiber libraries are * encouraged to override this method in their subclasses or modules to * work with their threading/blocking methods. */ static VALUE kgio_wait_writable(VALUE self)