Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shrapnel
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
shrapnel
Commits
5b7ae8c3
Commit
5b7ae8c3
authored
Jul 21, 2014
by
Sam Rushing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
queue_poller.poll: remove unused timespec.
parent
ef6a993d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
coro/linux_poller.pyx
coro/linux_poller.pyx
+0
-2
No files found.
coro/linux_poller.pyx
View file @
5b7ae8c3
...
...
@@ -377,14 +377,12 @@ cdef public class queue_poller [ object queue_poller_object, type queue_poller_t
# raise_oserror()
def
poll
(
self
,
timeout
=
(
30
,
0
),
int
nevents
=
2000
):
cdef
timespec
ts
cdef
int
r
,
i
cdef
epoll_event
*
events
cdef
shrapnel_epoll_event
new_e
cdef
coro
co
cdef
event_key
ek
cdef
py_event
_py_event
ts
.
tv_sec
,
ts
.
tv_nsec
=
timeout
events
=
<
epoll_event
*>
alloca
(
sizeof
(
epoll_event
)
*
nevents
)
r
=
epoll_wait
(
self
.
ep_fd
,
events
,
nevents
,
timeout
[
0
]
*
SECS_TO_MILLISECS
+
(
timeout
[
1
]
/
NSECS_TO_MILLISECS
))
...
...
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