×

Message Passing with Queues and Channels

  • US 20110246582A1
  • Filed: 03/30/2010
  • Published: 10/06/2011
  • Est. Priority Date: 03/30/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving, by a send thread, an identifier that identifies a destination node and a data pointer;

    creating, by a send thread, a first send request in response to the receiving;

    selecting, by the send thread, a selected channel from among a plurality of channels, wherein the selected channel comprises a selected hand-off queue and a selected identification of a selected message unit, wherein the each of the plurality of channels comprise a respective hand-off queue and a respective identification of a respective message unit;

    if the selected hand-off queue contains an available entry, adding, by the send thread, the first send request to the selected hand-off queue; and

    if the selected hand-off queue does not contain an available entry, removing, by the send thread, a second send request from the selected hand-off queue and sending the second send request to the selected message unit identified by the selected identification in the selected channel, wherein the selected message unit sends the data pointed to by the data pointer to the destination node.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×