Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
73903a72
authored
Mar 25, 2015
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed cpplint warnings
parent
eb8a25a6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
mtapi_c/src/embb_mtapi_task_t.c
+2
-1
mtapi_network_c/src/embb_mtapi_network.c
+8
-3
No files found.
mtapi_c/src/embb_mtapi_task_t.c
View file @
73903a72
...
@@ -279,7 +279,8 @@ static mtapi_task_hndl_t embb_mtapi_task_start(
...
@@ -279,7 +279,8 @@ static mtapi_task_hndl_t embb_mtapi_task_start(
/* schedule local task */
/* schedule local task */
was_scheduled
=
MTAPI_TRUE
;
was_scheduled
=
MTAPI_TRUE
;
for
(
mtapi_uint_t
kk
=
0
;
kk
<
task
->
attributes
.
num_instances
;
kk
++
)
{
for
(
mtapi_uint_t
kk
=
0
;
kk
<
task
->
attributes
.
num_instances
;
kk
++
)
{
was_scheduled
=
was_scheduled
&
was_scheduled
=
was_scheduled
&
embb_mtapi_scheduler_schedule_task
(
scheduler
,
task
,
kk
);
embb_mtapi_scheduler_schedule_task
(
scheduler
,
task
,
kk
);
}
}
...
...
mtapi_network_c/src/embb_mtapi_network.c
View file @
73903a72
...
@@ -583,7 +583,7 @@ mtapi_action_hndl_t mtapi_network_action_create(
...
@@ -583,7 +583,7 @@ mtapi_action_hndl_t mtapi_network_action_create(
mtapi_action_hndl_t
action_hndl
=
{
0
,
0
};
mtapi_action_hndl_t
action_hndl
=
{
0
,
0
};
int
err
;
int
err
;
// TODO: check action for allocation failure
if
(
NULL
!=
action
)
{
action
->
domain_id
=
domain_id
;
action
->
domain_id
=
domain_id
;
action
->
job_id
=
remote_job_id
;
action
->
job_id
=
remote_job_id
;
...
@@ -610,9 +610,14 @@ mtapi_action_hndl_t mtapi_network_action_create(
...
@@ -610,9 +610,14 @@ mtapi_action_hndl_t mtapi_network_action_create(
NULL
,
0
,
// no node local data obviously
NULL
,
0
,
// no node local data obviously
MTAPI_NULL
,
MTAPI_NULL
,
&
local_status
);
&
local_status
);
}
else
{
mtapi_status_set
(
status
,
local_status
);
embb_mutex_destroy
(
&
action
->
send_mutex
);
embb_mtapi_network_buffer_finalize
(
&
action
->
send_buffer
);
embb_mtapi_network_socket_finalize
(
&
action
->
socket
);
embb_free
(
action
);
}
}
}
mtapi_status_set
(
status
,
local_status
);
return
action_hndl
;
return
action_hndl
;
}
}
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