[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-782746-105":3,"detail-sidebar-cat-0-en-105":78,"doc-detail-782746-en":128,"doc-similar-782746":160},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":9,"keywords":10,"description":11,"schema_data":12,"social_meta":71,"head_meta":73,"extra_data":75,"updated_unix":77},105,"en","2001-caslists","","Non-blocking concurrent linked lists support lock-free insertion and deletion while preserving linearizability. Timothy L. Harris presents a CAS-based algorithm intended to simplify prior methods and improve performance. Its two-stage deletion first marks a node logically, then removes it physically, allowing concurrent operations to detect changes and avoid lost insertions. The paper reviews earlier designs and compares performance with lock-based and non-blocking alternatives in simulated workloads.",{"@graph":13,"@context":70},[14,33,53],{"@type":15,"itemListElement":16},"BreadcrumbList",[17,22,26,30],{"item":18,"name":19,"@type":20,"position":21},"https://docshare.wps.com","Home","ListItem",1,{"item":23,"name":24,"@type":20,"position":25},"https://docshare.wps.com/document/","Document",2,{"item":27,"name":28,"@type":20,"position":29},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":31,"name":9,"@type":20,"position":32},"https://docshare.wps.com/document/2001-caslists/782746/",4,{"url":31,"name":9,"@type":34,"image":35,"author":40,"headline":9,"publisher":43,"fileFormat":46,"inLanguage":8,"description":11,"dateModified":47,"datePublished":47,"encodingFormat":46,"isAccessibleForFree":48,"interactionStatistic":49},"DigitalDocument",{"url":36,"@type":37,"width":38,"height":39},"https://docshare.wps.com/thumbnails/2001-caslists/782746.png","ImageObject",300,407,{"name":41,"@type":42},"BigDaveOnline","Person",{"url":18,"name":44,"@type":45},"DocShare","Organization","application/pdf","2026-12-03",true,{"@type":50,"interactionType":51,"userInteractionCount":25},"InteractionCounter",{"@type":52},"ViewAction",{"@type":54,"mainEntity":55},"FAQPage",[56,62,66],{"name":57,"@type":58,"acceptedAnswer":59},"What problem does the paper address?","Question",{"text":60,"@type":61},"It presents a non-blocking concurrent linked-list implementation that supports linearizable insertion and deletion without locks.","Answer",{"name":63,"@type":58,"acceptedAnswer":64},"How does the deletion method work?",{"text":65,"@type":61},"Deletion uses two CAS operations: the node is first marked as logically deleted, then physically removed from the list.",{"name":67,"@type":58,"acceptedAnswer":68},"How is the algorithm evaluated?",{"text":69,"@type":61},"The paper describes correctness checks using model checking and execution traces, and compares performance with lock-based and other non-blocking algorithms across simulated workloads.","https://schema.org",{"og:url":31,"og:type":72,"og:title":9,"og:site_name":44,"og:description":11},"article",{"robots":74,"canonical":31},"index,follow",{"doc_id":76,"site_id":7},782746,1796313779,{"code":4,"msg":79,"data":80},"success",[81,85,89,93,98,103,108,112,117,120,124],{"id":21,"doc_module":4,"doc_module_name":24,"category_name":82,"show_sort_weight":83,"slug":84},"Story & Novel",90,"story-novel",{"id":25,"doc_module":4,"doc_module_name":24,"category_name":86,"show_sort_weight":87,"slug":88},"Literature",80,"literature",{"id":32,"doc_module":4,"doc_module_name":24,"category_name":90,"show_sort_weight":91,"slug":92},"Exam",70,"exam",{"id":94,"doc_module":4,"doc_module_name":24,"category_name":95,"show_sort_weight":96,"slug":97},5,"Comic",60,"comic",{"id":99,"doc_module":4,"doc_module_name":24,"category_name":100,"show_sort_weight":101,"slug":102},6,"Technology",50,"technology",{"id":104,"doc_module":4,"doc_module_name":24,"category_name":105,"show_sort_weight":106,"slug":107},7,"Healthcare",40,"healthcare",{"id":109,"doc_module":4,"doc_module_name":24,"category_name":28,"show_sort_weight":110,"slug":111},8,30,"research-report",{"id":113,"doc_module":4,"doc_module_name":24,"category_name":114,"show_sort_weight":115,"slug":116},9,"Religion & Spirituality",20,"religion-spirituality",{"id":115,"doc_module":4,"doc_module_name":24,"category_name":118,"show_sort_weight":115,"slug":119},"World Cup","world-cup",{"id":121,"doc_module":4,"doc_module_name":24,"category_name":122,"show_sort_weight":121,"slug":123},10,"Lifestyle","lifestyle",{"id":125,"doc_module":4,"doc_module_name":24,"category_name":126,"show_sort_weight":94,"slug":127},19,"General","general",{"code":4,"msg":79,"data":129},{"doc_id":76,"user_id":130,"nickname":41,"user_avatar":131,"doc_module":4,"category_id":109,"category_name":28,"doc_title":9,"doc_description":11,"doc_content":132,"file_id":133,"file_url":134,"file_type":135,"file_size":136,"view_count":25,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":137,"language":138,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":139,"faqs":140,"seo_title":141,"seo_description":11,"update_tm":77,"read_time":142,"preview_page_count":32,"preview_urls":143},962090896214,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","A Pragmatic Implementation of  \nNon-Blocking Linked-Lists  \nTimothy L. Harris  \nUniversity of Cambridge Computer Laboratory  \n,  \nCambridge, UK, [tim](tim. harris@cl. cam. ac. uk)[.](tim. harris@cl. cam. ac. uk)[ harris@cl](tim. harris@cl. cam. ac. uk)[.](tim. harris@cl. cam. ac. uk)[ cam](tim. harris@cl. cam. ac. uk)[.](tim. harris@cl. cam. ac. uk)[ ac](tim. harris@cl. cam. ac. uk)[.](tim. harris@cl. cam. ac. uk)[ uk](tim. harris@cl. cam. ac. uk)  \nAbstract. We present a new non-blocking implementation of concurrent linked-lists supporting linearizable insertion and deletion operations.  \nThe new algorithm provides substantial bene􀀌ts over previous schemes:  \nit is conceptually simpler and our prototype operates substantially faster.  \n1 Introduction  \nIt is becoming evident that non-blocking algorithms can deliver signi􀀌cant bene-􀀌ts to parallel systems [MP91 , LaM94, GC96, ABP98, Gre99] . Such algorithms use low-level atomic primitives such as compare-and-swap { through careful design and by eschewing the use of locks it is possible to build systems which scale to highly-parallel environments and which are resilient to scheduling decisions.  \nLinked-lists are one of the most basic data structures used in program design, and so a simple and e􀀋ective non-blocking linked-list implementation could serve as the basis for many data structures. This paper presents a novel implementation of linked-lists which is non-blocking, linearizable and which is based on the the compare-and-swap (CAS) operation found on contemporary processors.  \nSection 5 sketches a proof of correctness, describes the use of model-checking to perform exhaustive veri􀀌cation within a limited application domain and also describes empirical tests performed on execution traces from an actual implementation.  \nIn Sect. 6 we compare the performance of the new algorithm against that of a lock-based implementation and against an existing non-blocking algorithm. Compared with these other thread-safe algorithms, ours provides the best performance on each of three simulated workloads and for every level of concurrency.  \n2 Overview  \nIn this section we present an overview of our algorithm and the diÆculty in implementing non-blocking linked-lists. As a running example consider an ordered list containing the integers 10 and 30 along with sentinel head and tail nodes:  \nSuch a data structure may comprise cells containing two 􀀌elds: a key 􀀌eld  \nused to store the element and a next 􀀌eld to contain a reference to the next cell in the list.  \nInsertion is straightforward: a new list cell is created (below, left) and then introduced using single CAS operation on the next 􀀌eld of the proposed predecessor (below, right) .  \nIn this case the atomicity of the CAS ensures the the nodes either side of the insertion have remained adjacent. This simple guarantee is insuÆcient for deletions within the list. Suppose that we wish to remove the value 10. An obvious way of excising this node would be to perform a CAS that swings the reference from the head so that the node containing 30 becomes the 􀀌rst in the list:  \nAlthough this CAS ensures that the node 10 was still at the start of the list it cannot ensure that no additional nodes were introduced between the 10 node and the 30 node. If this deletion took place concurrently with the previous insertion then that new node would be lost:  \n\n| 30 |  |\n| --- | --- |\n\n\n| T |  |\n| --- | --- |\n\n\n| H |  |\n| --- | --- |\n\n\n| 10 |  |\n| --- | --- |\n\n\n| 20 |  |\n| --- | --- |\n\nThe single CAS could neither detect nor prevent changes between 10 and 30 once the deletion procedure had selected 30. Our proposed solution { and indeed the crux of the algorithms presented here { is to use two separate CAS operations in place of that single one. The 􀀌rst of these is used to mark the next 􀀌eld of the deleted node in some way (below, left), whereas the second is used to excise the node (below, right):  \nWe say that a node is logically deleted after the 􀀌rst st","cbCaijgN1JokZkuP","https://ap.wps.com/l/cbCaijgN1JokZkuP","pdf",308748,15,"English","# Introduction\n# Overview\n# Related Work","[{\"question\":\"What problem does the paper address?\",\"answer\":\"It presents a non-blocking concurrent linked-list implementation that supports linearizable insertion and deletion without locks.\"},{\"question\":\"How does the deletion method work?\",\"answer\":\"Deletion uses two CAS operations: the node is first marked as logically deleted, then physically removed from the list.\"},{\"question\":\"How is the algorithm evaluated?\",\"answer\":\"The paper describes correctness checks using model checking and execution traces, and compares performance with lock-based and other non-blocking algorithms across simulated workloads.\"}]","2001-caslists | PDF",38,[144,148,152,156],{"page_no":21,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-03/9277977cedfa5f303fdda962bf32dc47.webp",983,1272,{"page_no":25,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-03/b0f0e33492aba3f2c81aed3b558e1eeb.webp",982,1270,{"page_no":29,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-03/a22227fe00ed30b9f82ba5ed97586895.webp",981,1269,{"page_no":32,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-03/bae613328c6868fc5e5bc65f1b4e4bf4.webp",980,1268,{"list":161,"token":10},[162,169,176,182,189,195,201,207,214,220],{"doc_id":163,"doc_title":164,"file_type":135,"home_preview_img_url":165,"slug":166,"view_count":167,"category_name":28,"create_tm":168},84658,"ETALE: Evolving Topology with Accelerated Lock-free Execution for Dynamic Graph ANN Search on GPUs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809194927/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796330519&Signature=V8odkqw3K4nEPvkhSEdXMlTzRYc%3D","etale-evolving-topology-with-accelerated-lock-free-execution-for-dynamic-graph-ann-search-on-gpus",27,1784197525,{"doc_id":170,"doc_title":171,"file_type":135,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":28,"create_tm":175},85328,"Completeness of Logical Atomicity for Linearizability in Concurrent Separation Logic","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809301587/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796330519&Signature=uAoiKFFYHKu7M32FHX1vR4EE674%3D","completeness-of-logical-atomicity-for-linearizability-in-concurrent-separation-logic",28,1784202518,{"doc_id":177,"doc_title":178,"file_type":135,"home_preview_img_url":179,"slug":180,"view_count":99,"category_name":28,"create_tm":181},672992,"BCGL 14: Where syntax and phonology meet - Ellipsis and the phonological prespecification of roots","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990277382/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796330519&Signature=88jQ30Ud1It19FNnRLKbv7zqyas%3D","bcgl-14-where-syntax-and-phonology-meet-ellipsis-and-the-phonological-prespecification-of-roots",1793617531,{"doc_id":183,"doc_title":184,"file_type":135,"home_preview_img_url":185,"slug":186,"view_count":187,"category_name":28,"create_tm":188},86279,"Mizzle: A Complete Concurrent Incorrectness Logic for Preventing False Alarms in Agentic Bug Finding","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809396544/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796330519&Signature=%2B6v6B67X0zSA%2BmvMTlOV1mIzPIE%3D","mizzle-a-complete-concurrent-incorrectness-logic-for-preventing-false-alarms-in-agentic-bug-finding",24,1784210000,{"doc_id":190,"doc_title":191,"file_type":135,"home_preview_img_url":192,"slug":193,"view_count":187,"category_name":28,"create_tm":194},83051,"Unique Insertion Error Patterns in Levenshtein’s Reconstruction Problem","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808817585/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796330519&Signature=AdrG4SbPwGCzorRth2jrqWrgDgs%3D","unique-insertion-error-patterns-in-levenshteins-reconstruction-problem",1784184880,{"doc_id":196,"doc_title":197,"file_type":135,"home_preview_img_url":198,"slug":199,"view_count":29,"category_name":28,"create_tm":200},697941,"Lock-Free and Practical Doubly Linked List-Based Deques - Single-Word Compare-and-Swap","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009212192/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796330519&Signature=HhDDEptE4NeNw%2FeMikP%2BzEcrCFU%3D","lock-free-and-practical-doubly-linked-list-based-deques-single-word-compare-and-swap",1794446071,{"doc_id":202,"doc_title":203,"file_type":135,"home_preview_img_url":204,"slug":205,"view_count":121,"category_name":28,"create_tm":206},333491,"A Subset of Microsatellite Unstable Cancer Genomes Prone to Short Insertions over Deletions Is Associated with Elevated Anticancer Immunity","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910049553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796330519&Signature=WOpYjb%2FvMv57dygR7sLyb4Pz3xs%3D","a-subset-of-microsatellite-unstable-cancer-genomes-prone-to-short-insertions-over-deletions-is-associated-with-elevated-anticancer-immunity",1790002705,{"doc_id":208,"doc_title":209,"file_type":135,"home_preview_img_url":210,"slug":211,"view_count":212,"category_name":28,"create_tm":213},83032,"Efficient and Robust Lock-Free Multi-Word Compare-and-Swap via Contention-Aware Helping","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808928455/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796330519&Signature=fGoggnOs5CGblBKqeAq38%2FrU0yk%3D","efficient-and-robust-lock-free-multi-word-compare-and-swap-via-contention-aware-helping",21,1784184776,{"doc_id":215,"doc_title":216,"file_type":135,"home_preview_img_url":217,"slug":218,"view_count":174,"category_name":28,"create_tm":219},83930,"Adaptive Inference Batching using Policy Gradients","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809116214/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796330519&Signature=5h7elUVgrf0Fk9bIHBVFjMhemPs%3D","adaptive-inference-batching-using-policy-gradients",1784191515,{"doc_id":221,"doc_title":222,"file_type":135,"home_preview_img_url":223,"slug":224,"view_count":94,"category_name":28,"create_tm":225},458776,"A start codon-targeted genome editing strategy for generating hypomorphic mutants of lethal plant genes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229925445480/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796330519&Signature=u80pOkoix7ufh%2BUGCCQbikTUINw%3D","a-start-codon-targeted-genome-editing-strategy-for-generating-hypomorphic-mutants-of-lethal-plant-genes",1790754405]