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
f521afe7
Commit
f521afe7
authored
Jan 31, 2013
by
Sam Rushing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transition away from ironport's libc.pxd to the ones distributed with Cython
parent
79049c6b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
coro/aio.pyx
coro/aio.pyx
+2
-2
No files found.
coro/aio.pyx
View file @
f521afe7
...
...
@@ -153,7 +153,7 @@ def aio_read (int fd, int nbytes, uint64_t offset):
raise_oserror
()
else
:
r
=
_aio_error
(
&
cb
.
cb
)
if
r
==
libc
.
EINPROGRESS
:
if
r
==
errno
.
EINPROGRESS
:
# delayed async operation
# 0 because we're not in the changelist.
kt
=
kevent_target
(
me
,
0
)
...
...
@@ -222,7 +222,7 @@ def aio_write (int fd, object buffer, uint64_t offset):
raise_oserror
()
else
:
r
=
_aio_error
(
&
cb
.
cb
)
if
r
==
libc
.
EINPROGRESS
:
if
r
==
errno
.
EINPROGRESS
:
# delayed async operation
# wait for the kevent to wake us up
# 0 because we're not in the changelist.
...
...
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