Adaptive multi-threaded buffer
    2.
    发明授权
    Adaptive multi-threaded buffer 有权
    自适应多线程缓冲区

    公开(公告)号:US08904067B2

    公开(公告)日:2014-12-02

    申请号:US13419306

    申请日:2012-03-13

    申请人: Erwien Saputra

    发明人: Erwien Saputra

    IPC分类号: G06F3/00 G06F13/00

    CPC分类号: G06F9/544 G06F9/524

    摘要: An adaptive multi-thread buffer supports multiple writer process and reader processes simultaneously without blocking. Writer processes are assigned a reserved write slot using a writer index that is incremented for each write request. When a reserved write slot is not null, the buffer is resized to make room for new data. Reader processes are assigned a reserved read slot using a reader index that is incremented for each read request. When data is read out to the reader process, the read slot content is set to null. When a writer process attempts to write null data to a write slot, the buffer replaces the null write data with an empty value object so that content of the buffer is null only for empty slots. When an empty value object is read from a slot, the buffer replaces the content with null data to send to the reader process.

    摘要翻译: 自适应多线程缓冲器可同时支持多个写入程序和读取器进程而不阻塞。 使用写入器索引为写入器进程分配一个保留的写入时隙,为每个写入请求递增。 当保留的写时隙不为空时,缓冲区被调整大小,为新数据腾出空间。 使用读取器索引为读取器进程分配一个保留的读取时隙,读取器索引对于每个读取请求而递增。 当数据被读出到读取器进程时,读取槽内容被设置为空。 当写入程序尝试将空数据写入写槽时,缓冲区将使用空值对象替换空写入数据,以使缓冲区的内容只对空插槽为空。 当从一个插槽中读取一个空值对象时,缓冲区将使用空数据替换内容,以发送给读者进程。

    Adaptive Multi-Threaded Buffer
    3.
    发明申请
    Adaptive Multi-Threaded Buffer 有权
    自适应多线程缓冲区

    公开(公告)号:US20130246672A1

    公开(公告)日:2013-09-19

    申请号:US13419306

    申请日:2012-03-13

    申请人: Erwien Saputra

    发明人: Erwien Saputra

    IPC分类号: G06F3/00

    CPC分类号: G06F9/544 G06F9/524

    摘要: An adaptive multi-thread buffer supports multiple writer process and reader processes simultaneously without blocking. Writer processes are assigned a reserved write slot using a writer index that is incremented for each write request. When a reserved write slot is not null, the buffer is resized to make room for new data. Reader processes are assigned a reserved read slot using a reader index that is incremented for each read request. When data is read out to the reader process, the read slot content is set to null. When a writer process attempts to write null data to a write slot, the buffer replaces the null write data with an empty value object so that content of the buffer is null only for empty slots. When an empty value object is read from a slot, the buffer replaces the content with null data to send to the reader process.

    摘要翻译: 自适应多线程缓冲器可同时支持多个写入程序和读取器进程而不阻塞。 使用写入器索引为写入器进程分配一个保留的写入时隙,为每个写入请求递增。 当保留的写时隙不为空时,缓冲区被调整大小,为新数据腾出空间。 使用读取器索引为读取器进程分配一个保留的读取时隙,读取器索引对于每个读取请求而递增。 当数据被读出到读取器进程时,读取槽内容被设置为空。 当写入程序尝试将空数据写入写槽时,缓冲区将使用空值对象替换空写入数据,以使缓冲区的内容只对空插槽为空。 当从一个插槽中读取一个空值对象时,缓冲区将使用空数据替换内容,以发送给读者进程。