io-event 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/io/event/event.c +1 -1
- data/ext/io/event/event.h +1 -1
- data/ext/io/event/selector/epoll.c +2 -2
- data/lib/io/event/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66b02920cb810ad1ae4c312add97954e801c4f774a22cbaa278572a2985fdf2d
|
4
|
+
data.tar.gz: daa403e0c8fdd4d5849b6d984ba65613d9d621724abc41a1201598cfb94004b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5ad6dc3b027d03c2cf97d96e89c37b01f80e7a8f2e2437c4add9958076a877f85ba01dd188829dec3f798b4608cc40ac8d9f755465a799bdbfe4d130e09a0eb
|
7
|
+
data.tar.gz: 2a312b4ea5fc8d785a1233c087010608ca82e3834b198fbd08bb66a0ef88b3746d2da04b457841a4a848a35eeee5dc31c274a7a8b2da11f1f87ebe24ce694f0b
|
data/ext/io/event/event.c
CHANGED
data/ext/io/event/event.h
CHANGED
@@ -380,10 +380,10 @@ VALUE io_read_loop(VALUE _arguments) {
|
|
380
380
|
length -= result;
|
381
381
|
} else if (result == 0) {
|
382
382
|
break;
|
383
|
-
} else if (length > 0 && IO_Event_try_again(
|
383
|
+
} else if (length > 0 && IO_Event_try_again(errno)) {
|
384
384
|
IO_Event_Selector_EPoll_io_wait(arguments->self, arguments->fiber, arguments->io, RB_INT2NUM(IO_EVENT_READABLE));
|
385
385
|
} else {
|
386
|
-
return rb_fiber_scheduler_io_result(-1,
|
386
|
+
return rb_fiber_scheduler_io_result(-1, errno);
|
387
387
|
}
|
388
388
|
}
|
389
389
|
|
data/lib/io/event/version.rb
CHANGED