Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
4cbc12ec
Commit
4cbc12ec
authored
19 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Minor clean-up of forward_msg function description.
parent
cdf72c43
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/common/forward.h
+9
-9
9 additions, 9 deletions
src/common/forward.h
with
9 additions
and
9 deletions
src/common/forward.h
+
9
−
9
View file @
4cbc12ec
...
...
@@ -44,8 +44,10 @@
extern
void
forward_init
(
forward_t
*
forward
,
forward_t
*
from
);
/*
* forward_msg - logic to forward and collect return codes from childern
* of a parent forward
* forward_msg - logic to forward a message which has been received and
* accumulate the return codes from processes getting the
* the forwarded message
*
* IN: forward_struct - forward_struct_t * - holds information about message
* that needs to be forwarded to
* childern processes
...
...
@@ -55,11 +57,9 @@ extern void forward_init(forward_t *forward, forward_t *from);
*/
/*********************************************************************
Code taken from common/slurm_protocol_api.c
//This function should only be used when a message is being recieved.
//set up the forward_struct off of the buffer being received right after
//header is pulled off the received buffer
// Code taken from common/slurm_protocol_api.c
// Set up the forward_struct using the remainder of the buffer being received,
// right after header has been removed form the original buffer
forward_struct = xmalloc(sizeof(forward_struct_t));
forward_struct->buf_len = remaining_buf(buffer);
...
...
@@ -70,8 +70,8 @@ forward_struct->ret_list = ret_list;
forward_struct->timeout = timeout - header.forward.timeout;
//
s
end the structure created off the buffer and the header from the message
if(forward_msg(forward_struct, &header) == SLURM_ERROR) {
//
S
end the structure created off the buffer and the header from the message
if
(forward_msg(forward_struct, &header) == SLURM_ERROR) {
error("problem with forward msg");
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment