首页> 外国专利> Concurrent read and write access to a linked list where write process updates the linked list by swapping updated version of the linked list with internal list

Concurrent read and write access to a linked list where write process updates the linked list by swapping updated version of the linked list with internal list

机译:对链表的并发读写访问,其中写过程通过将链表的更新版本与内部链表交换来更新链表

摘要

A method and computing device for providing concurrent read and write access to a linked list of elements is presented. A linked list is provided wherein read access by a reader process and write access by a writer process may occur substantially concurrently. The linked list includes three internal lists for processes to reference elements of the linked list. The linked list also includes an updated indicator. Read access to the linked list is provided to a reader process such that the reader process accesses elements in the linked list according to a read list of the three internal lists. Write access to the linked list is provided to a writer process such that the writer process accesses elements in the linked list according to a write list of the three internal lists.
机译:提出了一种用于提供对元素的链表的并发读取和写入访问的方法和计算设备。提供了一种链表,其中,由读取器进程进行的读取访问和由写入器进程进行的写入访问可以基本上同时发生。链接列表包括三个内部列表,这些内部列表用于引用链接列表元素的过程。链接列表还包括一个更新的指示器。对链接列表的读取访问权提供给读取器进程,以使读取器进程根据三个内部列表的读取列表访问链接列表中的元素。对链接列表的写访问被提供给写程序,以便写程序根据三个内部列表的写列表访问链表中的元素。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号