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
278da02f
Commit
278da02f
authored
Mar 09, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove noinline keyword added in 4.22 because it breaks windows.
parent
35ff8ede
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
libev/ev.c
libev/ev.c
+8
-9
No files found.
libev/ev.c
View file @
278da02f
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
# undef EV_USE_POLL
# undef EV_USE_POLL
# define EV_USE_POLL 0
# define EV_USE_POLL 0
# endif
# endif
# if HAVE_EPOLL_CTL && HAVE_SYS_EPOLL_H
# if HAVE_EPOLL_CTL && HAVE_SYS_EPOLL_H
# ifndef EV_USE_EPOLL
# ifndef EV_USE_EPOLL
# define EV_USE_EPOLL EV_FEATURE_BACKENDS
# define EV_USE_EPOLL EV_FEATURE_BACKENDS
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
# undef EV_USE_EPOLL
# undef EV_USE_EPOLL
# define EV_USE_EPOLL 0
# define EV_USE_EPOLL 0
# endif
# endif
# if HAVE_KQUEUE && HAVE_SYS_EVENT_H
# if HAVE_KQUEUE && HAVE_SYS_EVENT_H
# ifndef EV_USE_KQUEUE
# ifndef EV_USE_KQUEUE
# define EV_USE_KQUEUE EV_FEATURE_BACKENDS
# define EV_USE_KQUEUE EV_FEATURE_BACKENDS
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
# undef EV_USE_KQUEUE
# undef EV_USE_KQUEUE
# define EV_USE_KQUEUE 0
# define EV_USE_KQUEUE 0
# endif
# endif
# if HAVE_PORT_H && HAVE_PORT_CREATE
# if HAVE_PORT_H && HAVE_PORT_CREATE
# ifndef EV_USE_PORT
# ifndef EV_USE_PORT
# define EV_USE_PORT EV_FEATURE_BACKENDS
# define EV_USE_PORT EV_FEATURE_BACKENDS
...
@@ -161,7 +161,7 @@
...
@@ -161,7 +161,7 @@
# undef EV_USE_EVENTFD
# undef EV_USE_EVENTFD
# define EV_USE_EVENTFD 0
# define EV_USE_EVENTFD 0
# endif
# endif
#endif
#endif
#include <stdlib.h>
#include <stdlib.h>
...
@@ -1941,8 +1941,8 @@ array_nextsize (int elem, int cur, int cnt)
...
@@ -1941,8 +1941,8 @@ array_nextsize (int elem, int cur, int cnt)
return
ncur
;
return
ncur
;
}
}
/* gevent: remove noinline, breaks all the appveyor builds */
static
void
*
noinline
ecb_cold
static
void
*
ecb_cold
array_realloc
(
int
elem
,
void
*
base
,
int
*
cur
,
int
cnt
)
array_realloc
(
int
elem
,
void
*
base
,
int
*
cur
,
int
cnt
)
{
{
*
cur
=
array_nextsize
(
elem
,
*
cur
,
cnt
);
*
cur
=
array_nextsize
(
elem
,
*
cur
,
cnt
);
...
@@ -2307,7 +2307,7 @@ downheap (ANHE *heap, int N, int k)
...
@@ -2307,7 +2307,7 @@ downheap (ANHE *heap, int N, int k)
heap
[
k
]
=
heap
[
c
];
heap
[
k
]
=
heap
[
c
];
ev_active
(
ANHE_w
(
heap
[
k
]))
=
k
;
ev_active
(
ANHE_w
(
heap
[
k
]))
=
k
;
k
=
c
;
k
=
c
;
}
}
...
@@ -2727,7 +2727,7 @@ ev_supported_backends (void) EV_THROW
...
@@ -2727,7 +2727,7 @@ ev_supported_backends (void) EV_THROW
if
(
EV_USE_EPOLL
)
flags
|=
EVBACKEND_EPOLL
;
if
(
EV_USE_EPOLL
)
flags
|=
EVBACKEND_EPOLL
;
if
(
EV_USE_POLL
)
flags
|=
EVBACKEND_POLL
;
if
(
EV_USE_POLL
)
flags
|=
EVBACKEND_POLL
;
if
(
EV_USE_SELECT
)
flags
|=
EVBACKEND_SELECT
;
if
(
EV_USE_SELECT
)
flags
|=
EVBACKEND_SELECT
;
return
flags
;
return
flags
;
}
}
...
@@ -5094,4 +5094,3 @@ ev_walk (EV_P_ int types, void (*cb)(EV_P_ int type, void *w)) EV_THROW
...
@@ -5094,4 +5094,3 @@ ev_walk (EV_P_ int types, void (*cb)(EV_P_ int type, void *w)) EV_THROW
#if EV_MULTIPLICITY
#if EV_MULTIPLICITY
#include "ev_wrap.h"
#include "ev_wrap.h"
#endif
#endif
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