diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-22 12:12:18 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-22 12:12:18 -0800 |
commit | 64bbc95d2192fb621b763c1c4d1ae32940c1a5ac (patch) | |
tree | dfca9134bf7b5f06ae89804c19b5827f234963a2 | |
parent | f093312ad1ed336363f352991b6b99d96f7aed1d (diff) | |
download | kgio-64bbc95d2192fb621b763c1c4d1ae32940c1a5ac.tar.gz |
Noticed-by: IƱaki Baz Castillo
-rw-r--r-- | ext/kgio/wait.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/kgio/wait.c b/ext/kgio/wait.c index 76c46db..abc10a3 100644 --- a/ext/kgio/wait.c +++ b/ext/kgio/wait.c @@ -11,7 +11,7 @@ static ID id_wait_rd, id_wait_wr; /* - * 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. * @@ -29,9 +29,10 @@ static VALUE kgio_wait_readable(VALUE 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. |