event 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/event/Makefile +32 -32
- data/ext/event/backend.o +0 -0
- data/ext/event/backend/uring.c +15 -4
- data/ext/event/epoll.o +0 -0
- data/ext/event/event.h +3 -3
- data/ext/event/event.o +0 -0
- data/ext/event/event.so +0 -0
- data/ext/event/extconf.h +2 -1
- data/ext/event/mkmf.log +26 -15
- data/ext/event/uring.o +0 -0
- data/lib/event/version.rb +1 -1
- metadata +6 -5
- data/ext/event/event.bundle +0 -0
- data/ext/event/kqueue.o +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73f2afe0a8b33db63d97b134f1c8c2ae2778d2a1982ee335e1fa17df2c6a1aba
|
4
|
+
data.tar.gz: 608e5adf0b404609b4ffebdfce321e1a6aa09d4e0067b2157c48562536599006
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b33aa76aca72169ad6c8f0b054b58f960a8f255bd77d12d44ab85622367474cac9f65edd3db39e8d414d27851963476301757465aa874879d794c11437743d5
|
7
|
+
data.tar.gz: b30be2add6fe30be434ed728ebd49bec2ded7b3cb290f9512d7856be4508576342d4164ce6d018d345ba0bc4e8397d8dde4836cdb71566dba677036295fc37c5
|
data/ext/event/Makefile
CHANGED
@@ -3,6 +3,7 @@ SHELL = /bin/sh
|
|
3
3
|
|
4
4
|
# V=0 quiet, V=1 verbose. other values don't work.
|
5
5
|
V = 0
|
6
|
+
V0 = $(V:0=)
|
6
7
|
Q1 = $(V:1=)
|
7
8
|
Q = $(Q1:0=@)
|
8
9
|
ECHO1 = $(V:1=@ :)
|
@@ -12,12 +13,12 @@ NULLCMD = :
|
|
12
13
|
#### Start of system configuration section. ####
|
13
14
|
|
14
15
|
srcdir = .
|
15
|
-
topdir = /
|
16
|
+
topdir = /home/samuel/.rubies/ruby-head/include/ruby-3.1.0
|
16
17
|
hdrdir = $(topdir)
|
17
|
-
arch_hdrdir = /
|
18
|
+
arch_hdrdir = /home/samuel/.rubies/ruby-head/include/ruby-3.1.0/x86_64-linux
|
18
19
|
PATH_SEPARATOR = :
|
19
20
|
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby:$(srcdir)/backend
|
20
|
-
prefix = $(DESTDIR)/
|
21
|
+
prefix = $(DESTDIR)/home/samuel/.rubies/ruby-head
|
21
22
|
rubysitearchprefix = $(rubylibprefix)/$(sitearch)
|
22
23
|
rubyarchprefix = $(rubylibprefix)/$(arch)
|
23
24
|
rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
|
@@ -50,7 +51,7 @@ dvidir = $(docdir)
|
|
50
51
|
htmldir = $(docdir)
|
51
52
|
infodir = $(datarootdir)/info
|
52
53
|
docdir = $(datarootdir)/doc/$(PACKAGE)
|
53
|
-
oldincludedir = $(
|
54
|
+
oldincludedir = $(DESTDIR)/usr/include
|
54
55
|
includedir = $(prefix)/include
|
55
56
|
runstatedir = $(localstatedir)/run
|
56
57
|
localstatedir = $(prefix)/var
|
@@ -65,12 +66,12 @@ archdir = $(rubyarchdir)
|
|
65
66
|
|
66
67
|
|
67
68
|
CC_WRAPPER =
|
68
|
-
CC =
|
69
|
-
CXX =
|
69
|
+
CC = gcc
|
70
|
+
CXX = g++
|
70
71
|
LIBRUBY = $(LIBRUBY_A)
|
71
72
|
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
72
|
-
LIBRUBYARG_SHARED =
|
73
|
-
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
|
73
|
+
LIBRUBYARG_SHARED = -Wl,-rpath,$(libdir) -L$(libdir)
|
74
|
+
LIBRUBYARG_STATIC = -Wl,-rpath,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static $(MAINLIBS)
|
74
75
|
empty =
|
75
76
|
OUTFLAG = -o $(empty)
|
76
77
|
COUTFLAG = -o $(empty)
|
@@ -79,43 +80,43 @@ CSRCFLAG = $(empty)
|
|
79
80
|
RUBY_EXTCONF_H = extconf.h
|
80
81
|
cflags = $(optflags) $(debugflags) $(warnflags)
|
81
82
|
cxxflags =
|
82
|
-
optflags = -O3
|
83
|
+
optflags = -O3 -fno-fast-math
|
83
84
|
debugflags = -ggdb3
|
84
|
-
warnflags = -Wall -Wextra -Wdeprecated-declarations -
|
85
|
+
warnflags = -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef
|
85
86
|
cppflags =
|
86
|
-
CCDLFLAGS = -
|
87
|
-
CFLAGS = $(CCDLFLAGS) $(cflags)
|
87
|
+
CCDLFLAGS = -fPIC
|
88
|
+
CFLAGS = $(CCDLFLAGS) $(cflags) -Wall $(ARCH_FLAG)
|
88
89
|
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
89
90
|
DEFS =
|
90
|
-
CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\"
|
91
|
+
CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" $(DEFS) $(cppflags)
|
91
92
|
CXXFLAGS = $(CCDLFLAGS) $(ARCH_FLAG)
|
92
|
-
ldflags = -L. -fstack-protector-strong -
|
93
|
-
dldflags = -Wl
|
93
|
+
ldflags = -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic
|
94
|
+
dldflags = -Wl,--compress-debug-sections=zlib
|
94
95
|
ARCH_FLAG =
|
95
96
|
DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
|
96
|
-
LDSHARED = $(CC) -
|
97
|
-
LDSHAREDXX = $(CXX) -
|
98
|
-
AR = ar
|
97
|
+
LDSHARED = $(CC) -shared
|
98
|
+
LDSHAREDXX = $(CXX) -shared
|
99
|
+
AR = gcc-ar
|
99
100
|
EXEEXT =
|
100
101
|
|
101
102
|
RUBY_INSTALL_NAME = $(RUBY_BASE_NAME)
|
102
|
-
RUBY_SO_NAME = ruby
|
103
|
+
RUBY_SO_NAME = ruby
|
103
104
|
RUBYW_INSTALL_NAME =
|
104
105
|
RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
|
105
106
|
RUBYW_BASE_NAME = rubyw
|
106
107
|
RUBY_BASE_NAME = ruby
|
107
108
|
|
108
|
-
arch = x86_64-
|
109
|
+
arch = x86_64-linux
|
109
110
|
sitearch = $(arch)
|
110
|
-
ruby_version = 3.
|
111
|
+
ruby_version = 3.1.0
|
111
112
|
ruby = $(bindir)/$(RUBY_BASE_NAME)
|
112
113
|
RUBY = $(ruby)
|
113
114
|
ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/backward.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.h $(arch_hdrdir)/ruby/config.h $(RUBY_EXTCONF_H)
|
114
115
|
|
115
116
|
RM = rm -f
|
116
117
|
RM_RF = $(RUBY) -run -e rm -- -rf
|
117
|
-
RMDIRS = rmdir -p
|
118
|
-
MAKEDIRS = /
|
118
|
+
RMDIRS = rmdir --ignore-fail-on-non-empty -p
|
119
|
+
MAKEDIRS = /usr/bin/mkdir -p
|
119
120
|
INSTALL = /usr/bin/install -c
|
120
121
|
INSTALL_PROG = $(INSTALL) -m 0755
|
121
122
|
INSTALL_DATA = $(INSTALL) -m 644
|
@@ -125,8 +126,8 @@ TOUCH = exit >
|
|
125
126
|
#### End of system configuration section. ####
|
126
127
|
|
127
128
|
preload =
|
128
|
-
libpath = . $(libdir)
|
129
|
-
LIBPATH = -L. -L$(libdir) -
|
129
|
+
libpath = . $(libdir)
|
130
|
+
LIBPATH = -L. -L$(libdir) -Wl,-rpath,$(libdir)
|
130
131
|
DEFFILE =
|
131
132
|
|
132
133
|
CLEANFILES = mkmf.log
|
@@ -137,16 +138,16 @@ extout =
|
|
137
138
|
extout_prefix =
|
138
139
|
target_prefix = /event
|
139
140
|
LOCAL_LIBS =
|
140
|
-
LIBS =
|
141
|
+
LIBS = -luring -lm -lc
|
141
142
|
ORIG_SRCS = event.c
|
142
|
-
SRCS = $(ORIG_SRCS) event.c backend.c
|
143
|
-
OBJS = event.o backend.o
|
143
|
+
SRCS = $(ORIG_SRCS) event.c backend.c uring.c epoll.c
|
144
|
+
OBJS = event.o backend.o uring.o epoll.o
|
144
145
|
HDRS = $(srcdir)/event.h $(srcdir)/extconf.h
|
145
146
|
LOCAL_HDRS =
|
146
147
|
TARGET = event
|
147
148
|
TARGET_NAME = event
|
148
149
|
TARGET_ENTRY = Init_$(TARGET_NAME)
|
149
|
-
DLLIB = $(TARGET).
|
150
|
+
DLLIB = $(TARGET).so
|
150
151
|
EXTSTATIC =
|
151
152
|
STATIC_LIB =
|
152
153
|
|
@@ -155,8 +156,8 @@ BINDIR = $(bindir)
|
|
155
156
|
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
156
157
|
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
|
157
158
|
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
158
|
-
HDRDIR = $(
|
159
|
-
ARCHHDRDIR = $(
|
159
|
+
HDRDIR = $(sitehdrdir)$(target_prefix)
|
160
|
+
ARCHHDRDIR = $(sitearchhdrdir)$(target_prefix)
|
160
161
|
TARGET_SO_DIR =
|
161
162
|
TARGET_SO = $(TARGET_SO_DIR)$(DLLIB)
|
162
163
|
CLEANLIBS = $(TARGET_SO)
|
@@ -260,7 +261,6 @@ $(TARGET_SO): $(OBJS) Makefile
|
|
260
261
|
$(ECHO) linking shared-object event/$(DLLIB)
|
261
262
|
-$(Q)$(RM) $(@)
|
262
263
|
$(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
|
263
|
-
$(Q) $(POSTLINK)
|
264
264
|
|
265
265
|
|
266
266
|
|
data/ext/event/backend.o
CHANGED
Binary file
|
data/ext/event/backend/uring.c
CHANGED
@@ -196,7 +196,8 @@ VALUE Event_Backend_URing_io_wait(VALUE self, VALUE fiber, VALUE io, VALUE event
|
|
196
196
|
|
197
197
|
io_uring_prep_poll_add(sqe, descriptor, flags);
|
198
198
|
io_uring_sqe_set_data(sqe, (void*)fiber);
|
199
|
-
io_uring_submit
|
199
|
+
// fprintf(stderr, "io_uring_submit\n");
|
200
|
+
// io_uring_submit(&data->ring);
|
200
201
|
|
201
202
|
struct io_wait_arguments io_wait_arguments = {
|
202
203
|
.data = data,
|
@@ -335,11 +336,18 @@ static
|
|
335
336
|
void * select_internal(void *_arguments) {
|
336
337
|
struct select_arguments * arguments = (struct select_arguments *)_arguments;
|
337
338
|
|
338
|
-
|
339
|
+
io_uring_submit(&arguments->data->ring);
|
340
|
+
|
341
|
+
int result = io_uring_wait_cqes(&arguments->data->ring, arguments->cqes, 1, arguments->timeout, NULL);
|
339
342
|
|
340
|
-
|
341
|
-
|
343
|
+
if (result == -ETIME) {
|
344
|
+
// If waiting resulted in a timeout, there are 0 events.
|
342
345
|
arguments->count = 0;
|
346
|
+
} else if (result == 0) {
|
347
|
+
// Otherwise, there was no error, at least 1 event was reported. So we ask for them all.
|
348
|
+
arguments->count = io_uring_peek_batch_cqe(&arguments->data->ring, arguments->cqes, URING_MAX_EVENTS);
|
349
|
+
} else {
|
350
|
+
arguments->count = result;
|
343
351
|
}
|
344
352
|
|
345
353
|
return NULL;
|
@@ -379,6 +387,9 @@ VALUE Event_Backend_URing_select(VALUE self, VALUE duration) {
|
|
379
387
|
|
380
388
|
if (!timeout_nonblocking(arguments.timeout)) {
|
381
389
|
result = select_internal_without_gvl(&arguments);
|
390
|
+
} else {
|
391
|
+
io_uring_submit(&data->ring);
|
392
|
+
result = io_uring_peek_batch_cqe(&data->ring, cqes, URING_MAX_EVENTS);
|
382
393
|
}
|
383
394
|
}
|
384
395
|
|
data/ext/event/epoll.o
ADDED
Binary file
|
data/ext/event/event.h
CHANGED
@@ -26,14 +26,14 @@
|
|
26
26
|
|
27
27
|
void Init_event();
|
28
28
|
|
29
|
-
#
|
29
|
+
#ifdef HAVE_LIBURING_H
|
30
30
|
#include "backend/uring.h"
|
31
31
|
#endif
|
32
32
|
|
33
|
-
#
|
33
|
+
#ifdef HAVE_SYS_EPOLL_H
|
34
34
|
#include "backend/epoll.h"
|
35
35
|
#endif
|
36
36
|
|
37
|
-
#
|
37
|
+
#ifdef HAVE_SYS_EVENT_H
|
38
38
|
#include "backend/kqueue.h"
|
39
39
|
#endif
|
data/ext/event/event.o
CHANGED
Binary file
|
data/ext/event/event.so
ADDED
Binary file
|
data/ext/event/extconf.h
CHANGED
data/ext/event/mkmf.log
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
have_library: checking for -luring... --------------------
|
1
|
+
have_library: checking for -luring... -------------------- yes
|
2
2
|
|
3
|
-
"
|
3
|
+
"gcc -o conftest -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0/x86_64-linux -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0/ruby/backward -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -Wall conftest.c -L. -L/home/samuel/.rubies/ruby-head/lib -Wl,-rpath,/home/samuel/.rubies/ruby-head/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/samuel/.rubies/ruby-head/lib -L/home/samuel/.rubies/ruby-head/lib -lruby-static -lz -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm -lm -lc"
|
4
4
|
checked program was:
|
5
5
|
/* begin */
|
6
6
|
1: #include "ruby.h"
|
@@ -11,9 +11,7 @@ checked program was:
|
|
11
11
|
6: }
|
12
12
|
/* end */
|
13
13
|
|
14
|
-
"
|
15
|
-
ld: library not found for -luring
|
16
|
-
clang: error: linker command failed with exit code 1 (use -v to see invocation)
|
14
|
+
"gcc -o conftest -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0/x86_64-linux -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0/ruby/backward -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -Wall conftest.c -L. -L/home/samuel/.rubies/ruby-head/lib -Wl,-rpath,/home/samuel/.rubies/ruby-head/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/samuel/.rubies/ruby-head/lib -L/home/samuel/.rubies/ruby-head/lib -lruby-static -lz -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm -luring -lm -lc"
|
17
15
|
checked program was:
|
18
16
|
/* begin */
|
19
17
|
1: #include "ruby.h"
|
@@ -35,13 +33,21 @@ checked program was:
|
|
35
33
|
|
36
34
|
--------------------
|
37
35
|
|
38
|
-
have_header: checking for
|
36
|
+
have_header: checking for liburing.h... -------------------- yes
|
39
37
|
|
40
|
-
"
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
38
|
+
"gcc -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0/x86_64-linux -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0/ruby/backward -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -Wall -c conftest.c"
|
39
|
+
checked program was:
|
40
|
+
/* begin */
|
41
|
+
1: #include "ruby.h"
|
42
|
+
2:
|
43
|
+
3: #include <liburing.h>
|
44
|
+
/* end */
|
45
|
+
|
46
|
+
--------------------
|
47
|
+
|
48
|
+
have_header: checking for sys/epoll.h... -------------------- yes
|
49
|
+
|
50
|
+
"gcc -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0/x86_64-linux -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0/ruby/backward -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -Wall -c conftest.c"
|
45
51
|
checked program was:
|
46
52
|
/* begin */
|
47
53
|
1: #include "ruby.h"
|
@@ -51,9 +57,13 @@ checked program was:
|
|
51
57
|
|
52
58
|
--------------------
|
53
59
|
|
54
|
-
have_header: checking for sys/event.h... --------------------
|
60
|
+
have_header: checking for sys/event.h... -------------------- no
|
55
61
|
|
56
|
-
"
|
62
|
+
"gcc -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0/x86_64-linux -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0/ruby/backward -I/home/samuel/.rubies/ruby-head/include/ruby-3.1.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -Wall -c conftest.c"
|
63
|
+
conftest.c:3:10: fatal error: sys/event.h: No such file or directory
|
64
|
+
3 | #include <sys/event.h>
|
65
|
+
| ^~~~~~~~~~~~~
|
66
|
+
compilation terminated.
|
57
67
|
checked program was:
|
58
68
|
/* begin */
|
59
69
|
1: #include "ruby.h"
|
@@ -67,7 +77,8 @@ extconf.h is:
|
|
67
77
|
/* begin */
|
68
78
|
1: #ifndef EXTCONF_H
|
69
79
|
2: #define EXTCONF_H
|
70
|
-
3: #define
|
71
|
-
4: #
|
80
|
+
3: #define HAVE_LIBURING_H 1
|
81
|
+
4: #define HAVE_SYS_EPOLL_H 1
|
82
|
+
5: #endif
|
72
83
|
/* end */
|
73
84
|
|
data/ext/event/uring.o
ADDED
Binary file
|
data/lib/event/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: event
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bake
|
@@ -83,14 +83,15 @@ files:
|
|
83
83
|
- ext/event/backend/kqueue.h
|
84
84
|
- ext/event/backend/uring.c
|
85
85
|
- ext/event/backend/uring.h
|
86
|
-
- ext/event/
|
86
|
+
- ext/event/epoll.o
|
87
87
|
- ext/event/event.c
|
88
88
|
- ext/event/event.h
|
89
89
|
- ext/event/event.o
|
90
|
+
- ext/event/event.so
|
90
91
|
- ext/event/extconf.h
|
91
92
|
- ext/event/extconf.rb
|
92
|
-
- ext/event/kqueue.o
|
93
93
|
- ext/event/mkmf.log
|
94
|
+
- ext/event/uring.o
|
94
95
|
- lib/event.rb
|
95
96
|
- lib/event/backend.rb
|
96
97
|
- lib/event/backend/select.rb
|
@@ -116,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
117
|
- !ruby/object:Gem::Version
|
117
118
|
version: '0'
|
118
119
|
requirements: []
|
119
|
-
rubygems_version: 3.
|
120
|
+
rubygems_version: 3.3.0.dev
|
120
121
|
signing_key:
|
121
122
|
specification_version: 4
|
122
123
|
summary: An event loop.
|
data/ext/event/event.bundle
DELETED
Binary file
|
data/ext/event/kqueue.o
DELETED
Binary file
|