io-event 1.1.1 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/ext/extconf.rb +2 -0
- data/ext/io/event/selector/uring.c +3 -0
- data/lib/io/event/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec111c6ab035a84dedec9e0c8885ccfa23edd8624647d8dc706b818a833a589f
|
4
|
+
data.tar.gz: '09c50dc090655197aa67dc8b350c6b7d416aaab40c66f98f97c802e005af9efd'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 830a051bdabe8d8883732e9be4f107528e934d1bb673abfefd7a047d9b2090cd7521b05f852938d667d36a0e678c0b82625ccd7c8cd0f677ff453810fcc53308
|
7
|
+
data.tar.gz: dc99321f39efb5371c9e4fa50d948b0f514e095499d21a48f77e8170b1aeaddbc13fc922be1ddce3a379becbe7abf6d3533cbafbad4a604b97cf3cbe6d434e99
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/ext/extconf.rb
CHANGED
@@ -326,6 +326,7 @@ VALUE io_wait_rescue(VALUE _arguments, VALUE exception) {
|
|
326
326
|
if (DEBUG) fprintf(stderr, "io_wait_rescue:io_uring_prep_poll_remove(%p)\n", (void*)arguments->fiber);
|
327
327
|
|
328
328
|
io_uring_prep_poll_remove(sqe, (uintptr_t)arguments->fiber);
|
329
|
+
io_uring_sqe_set_data(sqe, NULL);
|
329
330
|
io_uring_submit_now(data);
|
330
331
|
|
331
332
|
rb_exc_raise(exception);
|
@@ -707,6 +708,8 @@ VALUE IO_Event_Selector_URing_wakeup(VALUE self) {
|
|
707
708
|
}
|
708
709
|
|
709
710
|
io_uring_prep_nop(sqe);
|
711
|
+
// If you don't set this line, the SQE will eventually be recycled and have valid user data which can cause odd behaviour:
|
712
|
+
io_uring_sqe_set_data(sqe, NULL);
|
710
713
|
io_uring_submit(&data->ring);
|
711
714
|
|
712
715
|
return Qtrue;
|
data/lib/io/event/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: io-event
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -41,7 +41,7 @@ cert_chain:
|
|
41
41
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
42
42
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
43
43
|
-----END CERTIFICATE-----
|
44
|
-
date: 2022-
|
44
|
+
date: 2022-12-04 00:00:00.000000000 Z
|
45
45
|
dependencies:
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: bake
|
metadata.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
(��Z������J���^_k��q��/lӔ�r~j�<���t���F�Sh�֍H�����+�B
|
2
|
+
�s��<��6Ԣrt����o�ͣVTC���K�uL�ch��;��{t�_�zG�h$t�8"��I��v��E����X�` �م���L4��.�ョC�N%Ysx�Zu��|�$�0�p����i�kԳ�ao�'��~�e�1��:�T��H�ǒ����Ύ(�a[�|�GIOH۔�^���C�@O�9t�A1���+@8���)�����6J
|