×

Synchronizing Communication Over Shared Memory

  • US 20090328059A1
  • Filed: 06/27/2008
  • Published: 12/31/2009
  • Est. Priority Date: 06/27/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method of communicating between a sender thread and a receiving thread through shared memory, the method comprising:

  • sending a first message by said sender thread by a polling transmission method comprising;

    storing said first message; and

    changing a transmit index;

    receiving said first message by said receiving thread by a polling receiving method comprising;

    reading said transmit index to determine that said first message is ready to be read; and

    reading said first message;

    changing to a synchronization object receiving method by said receiving thread by a first changeover method comprising;

    setting a wait object;

    transmitting a second message by said sender thread by a synchronization object transmission method comprising;

    detecting that said wait object is set;

    setting an awake object;

    storing said second message; and

    changing said transmit index; and

    changing from a synchronization object receiving method by said receiving thread to said polling transmission method by a second changeover method comprising;

    receiving said awake object; and

    executing said polling receiving method.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×