Patent ID: 8555292

Claim:
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; changing a transmit index; and forcing a purge of a second memory pipeline for said sender thread after said changing said 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: forcing a purge of a first memory pipeline for said receiving thread prior to setting a wait object; setting said wait object, said wait object being an indicator that said receiving thread is not polling for messages; 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; determining that no new messages are available; 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.