LOCK-FREE ASYNCHRONOUS BUFFER
    1.
    发明申请

    公开(公告)号:US20190138242A1

    公开(公告)日:2019-05-09

    申请号:US15806902

    申请日:2017-11-08

    Abstract: A system for sharing data between two processes implements a memory arranged as a two dimensional ping/pong buffer where a writing operation alternately swaps buffers in one dimension and a reading operation swaps buffers in the other dimension. Accordingly, writing is into one or the other of a reading buffer set not currently being read with each write alternating between the write buffers. Data is retrieved from the buffer that is not currently being written. The buffer switching is coordinated by using commonly accessed variables between the reader and the writer and implements a system that is lock-free.

Patent Agency Ranking