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
ssg
Commits
6bba6536
Commit
6bba6536
authored
Dec 21, 2016
by
Shane Snyder
Browse files
fix some typos
parent
19a2c3c7
Changes
3
Show whitespace changes
Inline
Side-by-side
src/ssg-internal.h
View file @
6bba6536
...
...
@@ -6,8 +6,6 @@
#pragma once
#include
<ssg-config.h>
#include
<mercury_types.h>
#include
<abt.h>
#include
<margo.h>
...
...
src/swim-fd/swim-fd-internal.h
View file @
6bba6536
...
...
@@ -4,8 +4,8 @@
* See COPYRIGHT in top-level directory.
*/
#ifndef __SWIM_INTERNAL_H
#define __SWIM_INTERNAL_H
#ifndef __SWIM_
FD_
INTERNAL_H
#define __SWIM_
FD_
INTERNAL_H
#ifdef __cplusplus
extern
"C"
{
...
...
src/swim-fd/swim-fd.c
View file @
6bba6536
...
...
@@ -36,7 +36,6 @@ swim_context_t *swim_init(
assert
(
swim_ctx
);
memset
(
swim_ctx
,
0
,
sizeof
(
*
swim_ctx
));
#if 0
/* initialize swim state */
swim_ctx
->
mid
=
mid
;
swim_ctx
->
hg_ctx
=
margo_get_context
(
mid
);
...
...
@@ -44,6 +43,7 @@ swim_context_t *swim_init(
swim_ctx
->
group
=
swim_group
;
swim_ctx
->
ping_target
=
SWIM_MEMBER_ID_UNKNOWN
;
#if 0
/* initialize membership context */
swim_init_membership_view(swim_ctx);
...
...
@@ -77,7 +77,6 @@ static void swim_prot_ult(
while
(
!
(
swim_ctx
->
shutdown_flag
))
{
printf
(
"Loop
\n
"
);
#if 0
/* spawn a ULT to run this tick */
ret = ABT_thread_create(swim_ctx->prot_pool, swim_tick_ult, swim_ctx,
...
...
@@ -103,10 +102,8 @@ void swim_finalize(swim_context_t *swim_ctx)
if
(
swim_ctx
->
prot_thread
)
{
/* wait for the protocol ULT to terminate */
DEBUG_LOG
(
"attempting to shutdown ult %p
\n
"
,
swim_ctx
,
swim_ctx
->
prot_thread
);
ABT_thread_join
(
swim_ctx
->
prot_thread
);
ABT_thread_free
(
&
(
swim_ctx
->
prot_thread
));
DEBUG_LOG
(
"swim protocol shutdown complete
\n
"
,
swim_ctx
);
}
#if 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