Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
margo
Commits
add6ee55
Commit
add6ee55
authored
Mar 07, 2017
by
Philip Carns
Browse files
typo
parent
44385919
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/multiplex/svc2-server.c
View file @
add6ee55
...
...
@@ -32,7 +32,7 @@ static void svc2_do_thing_ult(hg_handle_t handle)
ABT_xstream_self
(
&
my_xstream
);
ABT_thread_self
(
&
my_ult
);
my_tid
=
pthread_self
();
printf
(
"svc
1
: do_thing: mplex_id: %u, ult: %p, xstream %p, tid: %lu
\n
"
,
printf
(
"svc
2
: do_thing: mplex_id: %u, ult: %p, xstream %p, tid: %lu
\n
"
,
hgi
->
mplex_id
,
my_ult
,
my_xstream
,
my_tid
);
out
.
ret
=
0
;
...
...
@@ -91,7 +91,7 @@ static void svc2_do_other_thing_ult(hg_handle_t handle)
ABT_xstream_self
(
&
my_xstream
);
ABT_thread_self
(
&
my_ult
);
my_tid
=
pthread_self
();
printf
(
"svc
1
: do_other_thing: mplex_id: %u, ult: %p, xstream %p, tid: %lu
\n
"
,
printf
(
"svc
2
: do_other_thing: mplex_id: %u, ult: %p, xstream %p, tid: %lu
\n
"
,
hgi
->
mplex_id
,
my_ult
,
my_xstream
,
my_tid
);
out
.
ret
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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