Patent ID: 9503383
Filing Date: 2016-11-22
CPC Classification: G06F,H04L

Claim Text:
1. A method for flow control for message passing in a reliable message passing layer, comprising: responsive to receiving a request to pass a new message in a reliable message passing layer from a process from among a plurality of processes, determining, using a processor, whether to allow the process to pass the new message from a source node to at least one destination node from among a plurality of destination nodes; responsive to allowing the process to send the at least one packet from the source node to a particular destination node from among the plurality of destination nodes, tracking, using a processor, whether an acknowledgement is received from the particular destination node of complete receipt of the new message by: maintaining a next identifier value for the particular destination node; responsive to receiving the new message for the particular destination node, assigning the message identifier for the new message from a particular next identifier value set for the particular destination node and incrementing the value of the particular next identifier value; detecting whether a particular acknowledgement packet received from the particular destination node comprises an acknowledgment received completed identifier falling within a range of values from a completed identifier value plus one through the particular next identifier value less one; and responsive to detecting the particular acknowledgement packet received from the particular destination node comprises the acknowledgement received completed identifier falling within the range, setting the completed identifier value to the acknowledgment received completed identifier value and sending an acknowledgement to the particular destination node with an acknowledgement completed identifier set to the completed identifier value.