Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
abt-io
Commits
def99ec4
Commit
def99ec4
authored
May 22, 2020
by
Philip Carns
Browse files
bug fixes
parent
ef005e4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/abt-io.c
View file @
def99ec4
...
...
@@ -470,7 +470,7 @@ static int issue_pwrite(struct abt_io_instance *aid, ABT_pool pool, abt_io_op_t
pstate
->
offset
=
offset
;
pstate
->
eventual
=
NULL
;
io_prep_pwrite
(
&
pstate
->
cb
,
fd
,
(
void
*
)
buf
,
count
,
offset
);
pstate
->
cb
.
data
=
&
pstate
;
pstate
->
cb
.
data
=
pstate
;
rc
=
ABT_eventual_create
(
0
,
&
pstate
->
eventual
);
if
(
rc
!=
ABT_SUCCESS
)
{
*
ret
=
-
ENOMEM
;
goto
err
;
}
...
...
@@ -1083,6 +1083,7 @@ static void libaio_waiter(void *foo)
{
assert
(
events
[
i
].
res
>=
0
);
pstate
=
events
[
i
].
data
;
*
pstate
->
ret
=
events
[
i
].
res
;
ABT_eventual_set
(
pstate
->
eventual
,
NULL
,
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