Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
margo
Commits
4f88a849
Commit
4f88a849
authored
Dec 10, 2015
by
Philip Carns
Browse files
fix eventual usage in example server
parent
3d793cff
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/server.c
View file @
4f88a849
...
...
@@ -21,7 +21,7 @@ int main(int argc, char **argv)
{
int
ret
;
ABT_eventual
eventual
;
int
shutdown
;
int
*
shutdown
;
ret
=
ABT_init
(
argc
,
argv
);
if
(
ret
!=
0
)
...
...
@@ -44,7 +44,7 @@ int main(int argc, char **argv)
my_rpc_register
();
/* suspend this ULT until someone tells us to shut down */
ret
=
ABT_eventual_create
(
sizeof
(
shutdown
),
&
eventual
);
ret
=
ABT_eventual_create
(
sizeof
(
*
shutdown
),
&
eventual
);
if
(
ret
!=
0
)
{
fprintf
(
stderr
,
"Error: ABT_eventual_create()
\n
"
);
...
...
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