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
4a176b80
Commit
4a176b80
authored
Apr 20, 2011
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add fork watchers
parent
77462ffb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
gevent/core_.pyx
gevent/core_.pyx
+10
-0
setup.py
setup.py
+0
-1
No files found.
gevent/core_.pyx
View file @
4a176b80
...
...
@@ -356,6 +356,9 @@ cdef public class loop [object PyGeventLoopObject, type PyGeventLoop_Type]:
cpdef
prepare
(
self
):
return
prepare
(
self
)
cpdef
fork
(
self
):
return
fork
(
self
)
cpdef
callback
(
self
):
return
callback
(
self
)
...
...
@@ -575,6 +578,13 @@ cdef public class prepare(watcher) [object PyGeventPrepareObject, type PyGeventP
INIT(prepare)
cdef public class fork(watcher) [object PyGeventForkObject, type PyGeventFork_Type]:
WATCHER(fork)
INIT(fork)
cdef public class callback(watcher) [object PyGeventCallbackObject, type PyGeventCallback_Type]:
"""Pseudo-watcher used to execute a callback in the loop as soon as possible."""
...
...
setup.py
View file @
4a176b80
...
...
@@ -31,7 +31,6 @@ if libev_embed:
# libev watchers that we don't use currently:
(
'EV_STAT_ENABLE'
,
'0'
),
(
'EV_CHECK_ENABLE'
,
'0'
),
(
'EV_FORK_ENABLE'
,
'0'
),
(
'EV_CLEANUP_ENABLE'
,
'0'
),
(
'EV_EMBED_ENABLE'
,
'0'
),
(
'EV_ASYNC_ENABLE'
,
'0'
),
...
...
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