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
7d25525c
Commit
7d25525c
authored
Sep 24, 2010
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: make event.add to actually clear global errno like it was supposed to
parent
0b213caa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
gevent/core.pyx
gevent/core.pyx
+1
-0
No files found.
gevent/core.pyx
View file @
7d25525c
...
@@ -253,6 +253,7 @@ cdef class event:
...
@@ -253,6 +253,7 @@ cdef class event:
def
add
(
self
,
timeout
=
None
):
def
add
(
self
,
timeout
=
None
):
"""Add event to be executed after an optional *timeout* - number of seconds
"""Add event to be executed after an optional *timeout* - number of seconds
after which the event will be executed."""
after which the event will be executed."""
global
errno
cdef
timeval
tv
cdef
timeval
tv
cdef
double
c_timeout
cdef
double
c_timeout
cdef
int
result
cdef
int
result
...
...
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