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
a62c41e0
Commit
a62c41e0
authored
Jan 31, 2012
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: add 'origflags' property to loop class
parent
aed644bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
gevent/core.ppyx
gevent/core.ppyx
+10
-0
gevent/libev.pxd
gevent/libev.pxd
+1
-0
No files found.
gevent/core.ppyx
View file @
a62c41e0
...
...
@@ -387,6 +387,16 @@ cdef public class loop [object PyGeventLoopObject, type PyGeventLoop_Type]:
return value
return backend
property origflags:
def __get__(self):
return _flags_to_list(self._ptr.origflags)
property origflags_int:
def __get__(self):
return self._ptr.origflags
def io(self, int fd, int events, ref=True):
return io(self, fd, events, ref)
...
...
gevent/libev.pxd
View file @
a62c41e0
...
...
@@ -58,6 +58,7 @@ cdef extern from "libev.h":
int
activecnt
int
backend_fd
int
sigfd
unsigned
int
origflags
struct
ev_io
:
int
fd
...
...
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