Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
2cf72187
Commit
2cf72187
authored
Nov 28, 2016
by
Jason Madden
Committed by
GitHub
Nov 28, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #896 from gevent/libev4.23
Update libev to 4.23
parents
cd1defa6
2b9c78ca
Changes
16
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
298 additions
and
272 deletions
+298
-272
changelog.rst
changelog.rst
+1
-1
deps/libev/Changes
deps/libev/Changes
+4
-13
deps/libev/Makefile.in
deps/libev/Makefile.in
+29
-17
deps/libev/configure
deps/libev/configure
+18
-6
deps/libev/depcomp
deps/libev/depcomp
+1
-1
deps/libev/ev.3
deps/libev/ev.3
+19
-11
deps/libev/ev.c
deps/libev/ev.c
+7
-6
deps/libev/ev.h
deps/libev/ev.h
+3
-3
deps/libev/ev.pod
deps/libev/ev.pod
+6
-1
deps/libev/ev_epoll.c
deps/libev/ev_epoll.c
+6
-3
deps/libev/ev_kqueue.c
deps/libev/ev_kqueue.c
+8
-4
deps/libev/ev_poll.c
deps/libev/ev_poll.c
+6
-3
deps/libev/ev_port.c
deps/libev/ev_port.c
+8
-4
deps/libev/ev_select.c
deps/libev/ev_select.c
+4
-2
deps/libev/install-sh
deps/libev/install-sh
+177
-196
deps/libev/missing
deps/libev/missing
+1
-1
No files found.
changelog.rst
View file @
2cf72187
...
...
@@ -7,7 +7,7 @@
1.2a2 (unreleased)
==================
-
Nothing yet
.
-
Update libev to version 4.23
.
1.2a1 (Oct 27, 2016)
====================
...
...
deps/libev/Changes
View file @
2cf72187
Revision history for libev, a high-performance and full-featured event loop.
TODO: ev_loop_wakeup
TODO: EV_STANDALONE == NO_HASSEL (do not use clock_gettime in ev_standalone)
TODO: faq, process a thing in each iteration
TODO: dbeugging tips, ev_verify, ev_init twice
TODO: ev_break for immediate exit (EVBREAK_NOW?)
TODO: ev_feed_child_event
TODO: document the special problem of signals around fork.
TODO: store pid for each signal
TODO: document file descriptor usage per loop
TODO: store loop pid_t and compare isndie signal handler,store 1 for same, 2 for differign pid, clean up in loop_fork
TODO: embed watchers need updating when fd changes
TODO: document portability requirements for atomic pointer access
TODO: document requirements for function pointers and calling conventions.
4.23 Wed Nov 16 18:23:41 CET 2016
- move some declarations at the beginning to help certain retarded
microsoft compilers, even though their documentation claims
otherwise (reported by Ruslan Osmanov).
4.22 Sun Dec 20 22:11:50 CET 2015
- when epoll detects unremovable fds in the fd set, rebuild
...
...
deps/libev/Makefile.in
View file @
2cf72187
# Makefile.in generated by automake 1.1
4.1
from Makefile.am.
# Makefile.in generated by automake 1.1
5
from Makefile.am.
# @configure_input@
# Copyright (C) 1994-201
3
Free Software Foundation, Inc.
# Copyright (C) 1994-201
4
Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -16,7 +16,17 @@
VPATH
=
@srcdir@
am__is_gnu_make
=
test
-n
'
$(MAKEFILE_LIST)
'
&&
test
-n
'
$(MAKELEVEL)
'
am__is_gnu_make
=
{
\
if
test
-z
'
$(MAKELEVEL)
'
;
then
\
false
;
\
elif
test
-n
'
$(MAKE_HOST)
'
;
then
\
true
;
\
elif
test
-n
'
$(MAKE_VERSION)
'
&&
test
-n
'
$(CURDIR)
'
;
then
\
true
;
\
else
\
false
;
\
fi
;
\
}
am__make_running_with_option
=
\
case
$
${
target_option
-
}
in
\
?
)
;;
\
...
...
@@ -80,16 +90,13 @@ POST_UNINSTALL = :
build_triplet
=
@build@
host_triplet
=
@host@
subdir
=
.
DIST_COMMON
=
$(srcdir)
/Makefile.in
$(srcdir)
/Makefile.am
\
$(top_srcdir)
/configure
$(am__configure_deps)
\
$(srcdir)
/config.h.in mkinstalldirs depcomp
$(include_HEADERS)
\
README compile config.guess config.sub install-sh missing
\
ltmain.sh
ACLOCAL_M4
=
$(top_srcdir)
/aclocal.m4
am__aclocal_m4_deps
=
$(top_srcdir)
/libev.m4
\
$(top_srcdir)
/configure.ac
am__configure_deps
=
$(am__aclocal_m4_deps)
$(CONFIGURE_DEPENDENCIES)
\
$(ACLOCAL_M4)
DIST_COMMON
=
$(srcdir)
/Makefile.am
$(top_srcdir)
/configure
\
$(am__configure_deps)
$(include_HEADERS)
$(am__DIST_COMMON)
am__CONFIG_DISTCLEAN_FILES
=
config.status config.cache config.log
\
configure.lineno config.status.lineno
mkinstalldirs
=
$(SHELL)
$(top_srcdir)
/mkinstalldirs
...
...
@@ -203,6 +210,9 @@ ETAGS = etags
CTAGS
=
ctags
CSCOPE
=
cscope
AM_RECURSIVE_TARGETS
=
cscope
am__DIST_COMMON
=
$(srcdir)
/Makefile.in
$(srcdir)
/config.h.in README
\
TODO compile config.guess config.sub depcomp install-sh
\
ltmain.sh missing mkinstalldirs
DISTFILES
=
$(DIST_COMMON)
$(DIST_SOURCES)
$(TEXINFOS)
$(EXTRA_DIST)
distdir
=
$(PACKAGE)
-
$(VERSION)
top_distdir
=
$(distdir)
...
...
@@ -327,6 +337,7 @@ pdfdir = @pdfdir@
prefix
=
@prefix@
program_transform_name
=
@program_transform_name@
psdir
=
@psdir@
runstatedir
=
@runstatedir@
sbindir
=
@sbindir@
sharedstatedir
=
@sharedstatedir@
srcdir
=
@srcdir@
...
...
@@ -367,7 +378,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
echo
' cd
$(top_srcdir)
&&
$(AUTOMAKE)
--foreign Makefile'
;
\
$(am__cd)
$(top_srcdir)
&&
\
$(AUTOMAKE)
--foreign
Makefile
.PRECIOUS
:
Makefile
Makefile
:
$(srcdir)/Makefile.in $(top_builddir)/config.status
@
case
'$?'
in
\
*
config.status
*
)
\
...
...
@@ -658,15 +668,15 @@ dist-xz: distdir
$(am__post_remove_distdir)
dist-tarZ
:
distdir
@
echo
WARNING:
"Support for
shar distribution archives is
"
\
"
deprecated."
>
&2
@
echo
WARNING:
"Support for
distribution archives compressed with
"
\
"legacy program 'compress' is
deprecated."
>
&2
@
echo
WARNING:
"It will be removed altogether in Automake 2.0"
>
&2
tardir
=
$(distdir)
&&
$(am__tar)
| compress
-c
>
$(distdir)
.tar.Z
$(am__post_remove_distdir)
dist-shar
:
distdir
@
echo
WARNING:
"Support for
distribution archives compressed with
"
\
"legacy program 'compress' is
deprecated."
>
&2
@
echo
WARNING:
"Support for
shar distribution archives is
"
\
"
deprecated."
>
&2
@
echo
WARNING:
"It will be removed altogether in Automake 2.0"
>
&2
shar
$(distdir)
|
GZIP
=
$(GZIP_ENV)
gzip
-c
>
$(distdir)
.shar.gz
$(am__post_remove_distdir)
...
...
@@ -702,17 +712,17 @@ distcheck: dist
esac
chmod
-R
a-w
$(distdir)
chmod
u+w
$(distdir)
mkdir
$(distdir)
/_build
$(distdir)
/_inst
mkdir
$(distdir)
/_build
$(distdir)
/_
build/sub
$(distdir)
/_
inst
chmod
a-w
$(distdir)
test
-d
$(distdir)
/_build
||
exit
0
;
\
dc_install_base
=
`
$(am__cd)
$(distdir)
/_inst
&&
pwd
|
sed
-e
's,^[^:\\/]:[\\/],/,'
`
\
&&
dc_destdir
=
"
$
${
TMPDIR
-/tmp
}
/am-dc-
$$$$
/"
\
&&
am__cwd
=
`
pwd
`
\
&&
$(am__cd)
$(distdir)
/_build
\
&&
../configure
\
&&
$(am__cd)
$(distdir)
/_build
/sub
\
&&
../
../
configure
\
$(AM_DISTCHECK_CONFIGURE_FLAGS)
\
$(DISTCHECK_CONFIGURE_FLAGS)
\
--srcdir
=
..
--prefix
=
"
$$
dc_install_base"
\
--srcdir
=
..
/..
--prefix
=
"
$$
dc_install_base"
\
&&
$(MAKE)
$(AM_MAKEFLAGS)
\
&&
$(MAKE)
$(AM_MAKEFLAGS)
dvi
\
&&
$(MAKE)
$(AM_MAKEFLAGS)
check
\
...
...
@@ -900,6 +910,8 @@ uninstall-man: uninstall-man3
uninstall-am uninstall-includeHEADERS uninstall-libLTLIBRARIES
\
uninstall-man uninstall-man3
.PRECIOUS
:
Makefile
ev.3
:
ev.pod
pod2man
-n
LIBEV
-r
"libev-
$(VERSION)
"
-c
"libev - high performance full featured event loop"
-s3
<
$<
>
$@
...
...
deps/libev/configure
View file @
2cf72187
...
...
@@ -729,6 +729,7 @@ infodir
docdir
oldincludedir
includedir
runstatedir
localstatedir
sharedstatedir
sysconfdir
...
...
@@ -809,6 +810,7 @@ datadir='${datarootdir}'
sysconfdir
=
'${prefix}/etc'
sharedstatedir
=
'${prefix}/com'
localstatedir
=
'${prefix}/var'
runstatedir
=
'${localstatedir}/run'
includedir
=
'${prefix}/include'
oldincludedir
=
'/usr/include'
docdir
=
'${datarootdir}/doc/${PACKAGE}'
...
...
@@ -1061,6 +1063,15 @@ do
|
-silent
|
--silent
|
--silen
|
--sile
|
--sil
)
silent
=
yes
;;
-runstatedir
|
--runstatedir
|
--runstatedi
|
--runstated
\
|
--runstate
|
--runstat
|
--runsta
|
--runst
|
--runs
\
|
--run
|
--ru
|
--r
)
ac_prev
=
runstatedir
;;
-runstatedir
=
*
|
--runstatedir
=
*
|
--runstatedi
=
*
|
--runstated
=
*
\
|
--runstate
=
*
|
--runstat
=
*
|
--runsta
=
*
|
--runst
=
*
|
--runs
=
*
\
|
--run
=
*
|
--ru
=
*
|
--r
=
*
)
runstatedir
=
$ac_optarg
;;
-sbindir
|
--sbindir
|
--sbindi
|
--sbind
|
--sbin
|
--sbi
|
--sb
)
ac_prev
=
sbindir
;;
-sbindir
=
*
|
--sbindir
=
*
|
--sbindi
=
*
|
--sbind
=
*
|
--sbin
=
*
\
...
...
@@ -1198,7 +1209,7 @@ fi
for
ac_var
in
exec_prefix prefix bindir sbindir libexecdir datarootdir
\
datadir sysconfdir sharedstatedir localstatedir includedir
\
oldincludedir docdir infodir htmldir dvidir pdfdir psdir
\
libdir localedir mandir
libdir localedir mandir
runstatedir
do
eval
ac_val
=
\$
$ac_var
# Remove trailing slashes.
...
...
@@ -1351,6 +1362,7 @@ Fine tuning of the installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
...
...
@@ -2205,7 +2217,7 @@ orig_CFLAGS="$CFLAGS"
am__api_version
=
'1.1
4
'
am__api_version
=
'1.1
5
'
ac_aux_dir
=
for
ac_dir
in
"
$srcdir
"
"
$srcdir
/.."
"
$srcdir
/../.."
;
do
...
...
@@ -2426,7 +2438,7 @@ else
$as_echo
"
$as_me
: WARNING: 'missing' script is too old or missing"
>
&2
;
}
fi
if
test
x
"
${
install_sh
}
"
!=
xset
;
then
if
test
x
"
${
install_sh
+set
}
"
!=
xset
;
then
case
$am_aux_dir
in
*
\
*
|
*
\
*
)
install_sh
=
"
\$
{SHELL} '
$am_aux_dir
/install-sh'"
;;
...
...
@@ -2721,7 +2733,7 @@ fi
# Define the identity of the package.
PACKAGE
=
libev
VERSION
=
4.2
2
VERSION
=
4.2
3
cat
>>
confdefs.h
<<
_ACEOF
...
...
@@ -2755,8 +2767,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
mkdir_p
=
'$(MKDIR_P)'
# We need awk for the "check" target
. The system "awk" is bad on
# some platforms.
# We need awk for the "check" target
(and possibly the TAP driver). The
# s
ystem "awk" is bad on s
ome platforms.
# Always define AMTAR for backward compatibility. Yes, it's still used
# in the wild :-( We should find a proper way to deprecate it ...
AMTAR
=
'$${TAR-tar}'
...
...
deps/libev/depcomp
View file @
2cf72187
...
...
@@ -3,7 +3,7 @@
scriptversion
=
2013-05-30.07
;
# UTC
# Copyright (C) 1999-201
3
Free Software Foundation, Inc.
# Copyright (C) 1999-201
4
Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
deps/libev/ev.3
View file @
2cf72187
.\" Automatically generated by Pod::Man
4.06 (Pod::Simple 3.32
)
.\" Automatically generated by Pod::Man
2.28 (Pod::Simple 3.30
)
.\"
.\" Standard preamble:
.\" ========================================================================
...
...
@@ -46,7 +46,7 @@
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is
>0
, we'll generate index entries on stderr for
.\" If the F register is
turned on
, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
...
...
@@ -54,16 +54,20 @@
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.if !\nF .nr F 0
.if \nF>0 \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{
. if \nF \{
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. if !\nF==2 \{\
. nr % 0
. nr F 2
. if !\nF==2 \{
. nr % 0
. nr F 2
. \}
. \}
.\}
.rr rF
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
...
...
@@ -129,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "LIBEV 3"
.TH LIBEV 3 "2016-
03-09" "libev-4.22
" "libev - high performance full featured event loop"
.TH LIBEV 3 "2016-
11-16" "libev-4.23
" "libev - high performance full featured event loop"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
...
...
@@ -2344,7 +2348,7 @@ Periodic watchers are also timers of a kind, but they are very versatile
.PP
Unlike \f(CW\*(C`ev_timer\*(C'\fR, periodic watchers are not based on real time (or
relative time, the physical time that passes) but on wall clock time
(absolute time, the thing you can read on your calend
e
r or clock). The
(absolute time, the thing you can read on your calend
a
r or clock). The
difference is that wall clock time can run faster or slower than real
time, and time jumps are not uncommon (e.g. when you adjust your
wrist-watch).
...
...
@@ -5410,6 +5414,10 @@ structure (guaranteed by \s-1POSIX\s0 but not by \s-1ISO C\s0 for example), but
assumes that the same (machine) code can be used to call any watcher
callback: The watcher callbacks have different type signatures, but libev
calls them using an \f(CW\*(C`ev_watcher *\*(C'\fR internally.
.IP "null pointers and integer zero are represented by 0 bytes" 4
.IX Item "null pointers and integer zero are represented by 0 bytes"
Libev uses \f(CW\*(C`memset\*(C'\fR to initialise structs and arrays to \f(CW0\fR bytes, and
relies on this setting pointers and integers to null.
.IP "pointer accesses must be thread-atomic" 4
.IX Item "pointer accesses must be thread-atomic"
Accessing a pointer value must be atomic, it must both be readable and
...
...
deps/libev/ev.c
View file @
2cf72187
...
...
@@ -107,7 +107,7 @@
# undef EV_USE_POLL
# define EV_USE_POLL 0
# endif
# if HAVE_EPOLL_CTL && HAVE_SYS_EPOLL_H
# ifndef EV_USE_EPOLL
# define EV_USE_EPOLL EV_FEATURE_BACKENDS
...
...
@@ -116,7 +116,7 @@
# undef EV_USE_EPOLL
# define EV_USE_EPOLL 0
# endif
# if HAVE_KQUEUE && HAVE_SYS_EVENT_H
# ifndef EV_USE_KQUEUE
# define EV_USE_KQUEUE EV_FEATURE_BACKENDS
...
...
@@ -125,7 +125,7 @@
# undef EV_USE_KQUEUE
# define EV_USE_KQUEUE 0
# endif
# if HAVE_PORT_H && HAVE_PORT_CREATE
# ifndef EV_USE_PORT
# define EV_USE_PORT EV_FEATURE_BACKENDS
...
...
@@ -161,7 +161,7 @@
# undef EV_USE_EVENTFD
# define EV_USE_EVENTFD 0
# endif
#endif
#include <stdlib.h>
...
...
@@ -2320,7 +2320,7 @@ downheap (ANHE *heap, int N, int k)
heap
[
k
]
=
heap
[
c
];
ev_active
(
ANHE_w
(
heap
[
k
]))
=
k
;
k
=
c
;
}
...
...
@@ -2743,7 +2743,7 @@ ev_supported_backends (void) EV_THROW
if
(
EV_USE_EPOLL
)
flags
|=
EVBACKEND_EPOLL
;
if
(
EV_USE_POLL
)
flags
|=
EVBACKEND_POLL
;
if
(
EV_USE_SELECT
)
flags
|=
EVBACKEND_SELECT
;
return
flags
;
}
...
...
@@ -5140,3 +5140,4 @@ ev_walk (EV_P_ int types, void (*cb)(EV_P_ int type, void *w)) EV_THROW
#if EV_MULTIPLICITY
#include "ev_wrap.h"
#endif
deps/libev/ev.h
View file @
2cf72187
...
...
@@ -515,10 +515,10 @@ enum {
/* method bits to be ored together */
enum
{
EVBACKEND_SELECT
=
0x00000001U
,
/* about anywhere */
EVBACKEND_POLL
=
0x00000002U
,
/* !win */
EVBACKEND_SELECT
=
0x00000001U
,
/* a
vailable just a
bout anywhere */
EVBACKEND_POLL
=
0x00000002U
,
/* !win
, !aix, broken on osx
*/
EVBACKEND_EPOLL
=
0x00000004U
,
/* linux */
EVBACKEND_KQUEUE
=
0x00000008U
,
/* bsd */
EVBACKEND_KQUEUE
=
0x00000008U
,
/* bsd
, broken on osx
*/
EVBACKEND_DEVPOLL
=
0x00000010U
,
/* solaris 8 */
/* NYI */
EVBACKEND_PORT
=
0x00000020U
,
/* solaris 10 */
EVBACKEND_ALL
=
0x0000003FU
,
/* all known backends */
...
...
deps/libev/ev.pod
View file @
2cf72187
...
...
@@ -2211,7 +2211,7 @@ Periodic watchers are also timers of a kind, but they are very versatile
Unlike C<ev_timer>, periodic watchers are not based on real time (or
relative time, the physical time that passes) but on wall clock time
(absolute time, the thing you can read on your calend
e
r or clock). The
(absolute time, the thing you can read on your calend
a
r or clock). The
difference is that wall clock time can run faster or slower than real
time, and time jumps are not uncommon (e.g. when you adjust your
wrist-watch).
...
...
@@ -5302,6 +5302,11 @@ assumes that the same (machine) code can be used to call any watcher
callback: The watcher callbacks have different type signatures, but libev
calls them using an C<ev_watcher *> internally.
=item null pointers and integer zero are represented by 0 bytes
Libev uses C<memset> to initialise structs and arrays to C<0> bytes, and
relies on this setting pointers and integers to null.
=item pointer accesses must be thread-atomic
Accessing a pointer value must be atomic, it must both be readable and
...
...
deps/libev/ev_epoll.c
View file @
2cf72187
...
...
@@ -235,7 +235,8 @@ epoll_poll (EV_P_ ev_tstamp timeout)
}
}
int
inline_size
inline_size
int
epoll_init
(
EV_P_
int
flags
)
{
#ifdef EPOLL_CLOEXEC
...
...
@@ -260,14 +261,16 @@ epoll_init (EV_P_ int flags)
return
EVBACKEND_EPOLL
;
}
void
inline_size
inline_size
void
epoll_destroy
(
EV_P
)
{
ev_free
(
epoll_events
);
array_free
(
epoll_eperm
,
EMPTY
);
}
void
inline_size
inline_size
void
epoll_fork
(
EV_P
)
{
close
(
backend_fd
);
...
...
deps/libev/ev_kqueue.c
View file @
2cf72187
...
...
@@ -43,7 +43,8 @@
#include <string.h>
#include <errno.h>
void
inline_speed
inline_speed
void
kqueue_change
(
EV_P_
int
fd
,
int
filter
,
int
flags
,
int
fflags
)
{
++
kqueue_changecnt
;
...
...
@@ -152,7 +153,8 @@ kqueue_poll (EV_P_ ev_tstamp timeout)
}
}
int
inline_size
inline_size
int
kqueue_init
(
EV_P_
int
flags
)
{
/* initialize the kernel queue */
...
...
@@ -176,14 +178,16 @@ kqueue_init (EV_P_ int flags)
return
EVBACKEND_KQUEUE
;
}
void
inline_size
inline_size
void
kqueue_destroy
(
EV_P
)
{
ev_free
(
kqueue_events
);
ev_free
(
kqueue_changes
);
}
void
inline_size
inline_size
void
kqueue_fork
(
EV_P
)
{
/* some BSD kernels don't just destroy the kqueue itself,
...
...
deps/libev/ev_poll.c
View file @
2cf72187
...
...
@@ -39,7 +39,8 @@
#include <poll.h>
void
inline_size
inline_size
void
pollidx_init
(
int
*
base
,
int
count
)
{
/* consider using memset (.., -1, ...), which is practically guaranteed
...
...
@@ -126,7 +127,8 @@ poll_poll (EV_P_ ev_tstamp timeout)
}
}
int
inline_size
inline_size
int
poll_init
(
EV_P_
int
flags
)
{
backend_mintime
=
1e-3
;
...
...
@@ -139,7 +141,8 @@ poll_init (EV_P_ int flags)
return
EVBACKEND_POLL
;
}
void
inline_size
inline_size
void
poll_destroy
(
EV_P
)
{
ev_free
(
pollidxs
);
...
...
deps/libev/ev_port.c
View file @
2cf72187
...
...
@@ -55,7 +55,8 @@
#include <string.h>
#include <errno.h>
void
inline_speed
inline_speed
void
port_associate_and_check
(
EV_P_
int
fd
,
int
ev
)
{
if
(
0
>
...
...
@@ -136,7 +137,8 @@ port_poll (EV_P_ ev_tstamp timeout)
}
}
int
inline_size
inline_size
int
port_init
(
EV_P_
int
flags
)
{
/* Initialize the kernel queue */
...
...
@@ -163,13 +165,15 @@ port_init (EV_P_ int flags)
return
EVBACKEND_PORT
;
}
void
inline_size
inline_size
void
port_destroy
(
EV_P
)
{
ev_free
(
port_events
);
}
void
inline_size
inline_size
void
port_fork
(
EV_P
)
{
close
(
backend_fd
);
...
...
deps/libev/ev_select.c
View file @
2cf72187
...
...
@@ -271,7 +271,8 @@ select_poll (EV_P_ ev_tstamp timeout)
#endif
}
int
inline_size
inline_size
int
select_init
(
EV_P_
int
flags
)
{
backend_mintime
=
1e-6
;
...
...
@@ -300,7 +301,8 @@ select_init (EV_P_ int flags)
return
EVBACKEND_SELECT
;
}
void
inline_size
inline_size
void
select_destroy
(
EV_P
)
{
ev_free
(
vec_ri
);
...
...
deps/libev/install-sh
View file @
2cf72187
This diff is collapsed.
Click to expand it.
deps/libev/missing
View file @
2cf72187
...
...
@@ -3,7 +3,7 @@
scriptversion
=
2013-10-28.13
;
# UTC
# Copyright (C) 1996-201
3
Free Software Foundation, Inc.
# Copyright (C) 1996-201
4
Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment