Aspected interfaces and methods for synchronized containers and other data structures
    1.
    发明授权
    Aspected interfaces and methods for synchronized containers and other data structures 有权
    用于同步容器和其他数据结构的预期接口和方法

    公开(公告)号:US09002897B2

    公开(公告)日:2015-04-07

    申请号:US12979827

    申请日:2010-12-28

    IPC分类号: G06F7/00 G06F17/30 G06F9/52

    CPC分类号: G06F9/52

    摘要: The subject disclosure is directed towards an object (e.g., an aspected vector, queue, map, stack and so forth) container having an exclusive interface, a shared-read-only interface and a shared-write (and read) interface to a common set of data. Use cases during runtime determine the appropriate interface to use. No locking is needed with methods of the exclusive interface or the read-only interface. The shared-write interface is configured to have only concurrency safe methods. Also described is blocking the use of other interfaces while one interface is in use, and the use of reference counter tracking to know when no concurrent readers and/or writers remain, to allow transitioning to use a different interface.

    摘要翻译: 主题公开涉及具有专用接口,共享只读接口和共享 - 写入(以及读取)接口的对象(例如,方面的向量,队列,映射,堆栈等)容器 一组数据 运行期间的用例会确定要使用的适当接口。 独占接口或只读接口的方法不需要锁定。 共享写入接口被配置为仅具有并发安全方法。 还描述了在一个接口正在使用时阻止使用其他接口,并且使用引用计数器跟踪来知道何时不存在并发读取器和/或写入器,以允许转换使用不同的接口。

    Aspected Interfaces and Methods for Synchronized Containers and Other Data Structures
    4.
    发明申请
    Aspected Interfaces and Methods for Synchronized Containers and Other Data Structures 有权
    同步容器和其他数据结构的预期接口和方法

    公开(公告)号:US20120166408A1

    公开(公告)日:2012-06-28

    申请号:US12979827

    申请日:2010-12-28

    IPC分类号: G06F17/00

    CPC分类号: G06F9/52

    摘要: The subject disclosure is directed towards an object (e.g., an aspected vector, queue, map, stack and so forth) container having an exclusive interface, a shared-read-only interface and a shared-write (and read) interface to a common set of data. Use cases during runtime determine the appropriate interface to use. No locking is needed with methods of the exclusive interface or the read-only interface. The shared-write interface is configured to have only concurrency safe methods. Also described is blocking the use of other interfaces while one interface is in use, and the use of reference counter tracking to know when no concurrent readers and/or writers remain, to allow transitioning to use a different interface.

    摘要翻译: 主题公开涉及具有专用接口,共享只读接口和共享 - 写入(以及读取)接口的对象(例如,方面的向量,队列,映射,堆栈等)容器 一组数据 运行期间的用例会确定要使用的适当接口。 独占接口或只读接口的方法不需要锁定。 共享写入接口被配置为仅具有并发安全方法。 还描述了在一个接口正在使用时阻止使用其他接口,并且使用引用计数器跟踪来知道何时不存在并发读取器和/或写入器,以允许转换使用不同的接口。