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
b9fe418f
Commit
b9fe418f
authored
Feb 09, 2012
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: add bunch of EV_ constants in LIBEV_EMBED mode
parent
9935d9f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
gevent/core.ppyx
gevent/core.ppyx
+13
-0
gevent/libev.pxd
gevent/libev.pxd
+17
-0
No files found.
gevent/core.ppyx
View file @
b9fe418f
...
...
@@ -985,3 +985,16 @@ def set_exc_info(object type, object value):
Py_INCREF(<PyObjectPtr>value)
tstate.exc_value = <PyObjectPtr>value
tstate.exc_traceback = NULL
#ifdef LIBEV_EMBED
EV_USE_FLOOR = libev.EV_USE_FLOOR
EV_USE_CLOCK_SYSCALL = libev.EV_USE_CLOCK_SYSCALL
EV_USE_REALTIME = libev.EV_USE_REALTIME
EV_USE_MONOTONIC = libev.EV_USE_MONOTONIC
EV_USE_NANOSLEEP = libev.EV_USE_NANOSLEEP
EV_USE_INOTIFY = libev.EV_USE_INOTIFY
EV_USE_SIGNALFD = libev.EV_USE_SIGNALFD
EV_USE_EVENTFD = libev.EV_USE_EVENTFD
EV_USE_4HEAP = libev.EV_USE_4HEAP
#endif
gevent/libev.pxd
View file @
b9fe418f
...
...
@@ -10,6 +10,23 @@ cdef extern from "libev.h":
int
EV_VERSION_MAJOR
int
EV_VERSION_MINOR
int
EV_USE_FLOOR
int
EV_USE_CLOCK_SYSCALL
int
EV_USE_REALTIME
int
EV_USE_MONOTONIC
int
EV_USE_NANOSLEEP
int
EV_USE_SELECT
int
EV_USE_POLL
int
EV_USE_EPOLL
int
EV_USE_KQUEUE
int
EV_USE_PORT
int
EV_USE_INOTIFY
int
EV_USE_SIGNALFD
int
EV_USE_EVENTFD
int
EV_USE_4HEAP
int
EV_USE_IOCP
int
EV_SELECT_IS_WINSOCKET
int
EV_UNDEF
int
EV_NONE
int
EV_READ
...
...
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