[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-697941-105":59,"doc-detail-697941-en":130,"doc-similar-697941":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","lock-free-and-practical-doubly-linked-list-based-deques-single-word-compare-and-swap","Lock-Free and Practical Doubly Linked List-Based Deques - Single-Word Compare-and-Swap","","Efficient, practical lock-free concurrent deque implementation enables parallelism for disjoint accesses using atomic primitives available on modern systems. Prior lock-free deque algorithms either rely on unavailable multi-word primitives, implement only part of deque functionality, or do not target disjoint-access concurrency. The proposed design is built on a general lock-free doubly linked list and needs only single-word compare-and-swap operations, supporting full-precision pointers and dynamic deque sizes. Empirical evaluation compares against the most efficient known lock-free deque implementations, showing advantages under high concurrency and non-uniform memory architectures.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/lock-free-and-practical-doubly-linked-list-based-deques-single-word-compare-and-swap/697941/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/lock-free-and-practical-doubly-linked-list-based-deques-single-word-compare-and-swap/697941.png","ImageObject",300,407,{"name":92,"@type":93},"OKfine","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-17","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What operations does a deque support in this paper's introduction?","Question",{"text":112,"@type":113},"A deque supports four operations: PushRight, PopRight, PushLeft, and PopLeft, which add and remove values from the right and left ends respectively.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Why are lock-free algorithms proposed over mutual exclusion for concurrent deques?",{"text":117,"@type":113},"Mutual exclusion can degrade performance due to blocking and may cause deadlocks, priority inversion, or starvation. Lock-free implementations avoid mutual exclusion and guarantee that at least one operation makes progress under contention.",{"name":119,"@type":110,"acceptedAnswer":120},"What atomic primitive does the proposed deque algorithm rely on?",{"text":121,"@type":113},"The algorithm requires only single-word compare-and-swap atomic primitives, unlike earlier methods that depend on multi-word primitives such as Double-Word Compare-and-Swap.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},697941,1794446071,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":36,"preview_page_count":19,"preview_urls":144},962093957596,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","Lock-Free and Practical Doubly Linked List-Based Deques Using Single-Word Compare-and-Swap  \nHa˚kan Sundell and Philippas Tsigas  \nDepartment of Computing Science,  \nChalmers University of Technology and Gteborg University, 412 96 Go¨teborg, Sweden  \n{phs, [tsigas](tsigas}@cs.chalmers.se)[}](tsigas}@cs.chalmers.se)[@cs.chalmers.se](tsigas}@cs.chalmers.se)  \n[http://www.cs.chalmers.se/](http://www.cs.chalmers.se/) ~{phs, tsigas}  \nAbstract. We present an eﬃcient and practical lock-free implementation of a concurrent deque that supports parallelism for disjoint accesses and uses atomic primitives which are available in modern computer systems. Previously known lock-free algorithms of deques are either based on non-available atomic synchronization primitives, only implement a subset of the functionality, or are not designed for disjoint accesses. Our algorithm is based on a general lock-free doubly linked list, and only requires single-word compare-and-swap atomic primitives. It also allows pointers with full precision, and thus supports dynamic deque sizes. We have performed an empirical study using full implementations of the most eﬃcient known algorithms of lock-free deques. For systems with low concurrency, the algorithm by Michael shows the best performance.  \nHowever, as our algorithm is designed for disjoint accesses, it performs signiﬁcantly better on systems with high concurrency and non-uniform memory architecture. In addition, the proposed solution also implementsa general doubly linked list, the ﬁrst lock-free implementation that only needs the single-word compare-and-swap atomic primitive.  \n1 Introduction  \nA deque (i.e. double-ended queue) is a fundamental data structure. For example, deques are often used for implementing the ready queue used for scheduling of tasks in operating systems. A deque supports four operations, the PushRight, the PopRight, the PushLeft, and the PopLeft operation. The abstract deﬁnition of a deque is a list of values, where the PushRight/PushLeft operation adds anew value to the right/left edge of the list. The PopRight/PopLeft operation correspondingly removes and returns the value on the right/left edge of the list.  \nTo ensure consistency of a shared data object in a concurrent environment, the most common method is mutual exclusion, i.e. some form of locking. Mutual exclusion degrades the system’s overall performance [1] as it causes blocking,  \nT. Higashino (Ed.): OPODIS 2004, LNCS 3544, pp. 240–255, 2005 .  \n􀀁c Springer-Verlag Berlin Heidelberg 2005  \nLock-Free and Practical Doubly Linked List-Based Deques 241  \ni.e. other concurrent operations can not make any progress while the access to the shared resource is blocked by the lock. Mutual exclusion can also cause deadlocks, priority inversion and even starvation.  \nIn order to address these problems, researchers have proposed non-blocking algorithms for shared data objects. Non-blocking algorithms do not involve mutual exclusion, and therefore do not suﬀer from the problems that blocking could generate. Lock-free implementations are non-blocking and guarantee that regardless of the contention caused by concurrent operations and the interleaving of their sub-operations, always at least one operation will progress. However, thereis a risk for starvation as the progress of some operations could cause some other operations to never ﬁnish. Wait-free [2] algorithms are lock-free and moreover they avoid starvation as well, as all operations are then guaranteed to ﬁnishin a limited number of their own steps. Recently, some researchers also include obstruction-free [3] implementations to the non-blocking set of implementations. These kinds of implementations are weaker than the lock-free ones and do not guarantee progress of any concurrent operation.  \nThe implementation of a lock-based concurrent deque is a trivial task, and can preferably be constructed using either a doubly linked list or a cyclic array, protected by either a single lock","cbCaivjCz4xwyD8m","https://ap.wps.com/l/cbCaivjCz4xwyD8m","pdf",227065,16,"English","# Abstract\n# 1 Introduction","[{\"question\":\"What operations does a deque support in this paper's introduction?\",\"answer\":\"A deque supports four operations: PushRight, PopRight, PushLeft, and PopLeft, which add and remove values from the right and left ends respectively.\"},{\"question\":\"Why are lock-free algorithms proposed over mutual exclusion for concurrent deques?\",\"answer\":\"Mutual exclusion can degrade performance due to blocking and may cause deadlocks, priority inversion, or starvation. Lock-free implementations avoid mutual exclusion and guarantee that at least one operation makes progress under contention.\"},{\"question\":\"What atomic primitive does the proposed deque algorithm rely on?\",\"answer\":\"The algorithm requires only single-word compare-and-swap atomic primitives, unlike earlier methods that depend on multi-word primitives such as Double-Word Compare-and-Swap.\"}]","Lock-Free and Practical Doubly Linked List-Based Deques - Single-Word Compare-and-Swap | PDF",[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/fad883d554251131a9487627b43f6d7c.webp",983,1415,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/1dd5dc8e65c6bb604f804e0e7f5e1586.webp",982,1414,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/f1268b5497d8a7c3de58c50e7c921f37.webp",981,1412,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/e0ed1b693b4db0e71b16e30237658e35.webp",980,1411,{"list":162,"token":66},[163,170,177,184,191,198,204,211,217,223],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":168,"category_name":40,"create_tm":169},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=1796109239&Signature=NrG8uvsxEd947Hwy6dLorjaf3Dw%3D","efficient-and-robust-lock-free-multi-word-compare-and-swap-via-contention-aware-helping",21,1784184776,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":40,"create_tm":176},85292,"Xema Efficient Diffusion Serving through Fine-Grained Memory Management and Auto Configuration","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809255840/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=mMlz%2B67vdIAr6raa5lQIOF40q9Y%3D","xema-efficient-diffusion-serving-through-fine-grained-memory-management-and-auto-configuration",28,1784202291,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":40,"create_tm":183},81875,"How to Avoid Debate: Scalable AI Safety via Doubly-Efficient Interactive Proofs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808652239/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=mliUl8zuo5qr3E1LvL0tMO1z9Pg%3D","how-to-avoid-debate-scalable-ai-safety-via-doubly-efficient-interactive-proofs",26,1784176800,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":40,"create_tm":190},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=1796109239&Signature=AqVGZC4ktBptuThHDP6l8vVVLgg%3D","etale-evolving-topology-with-accelerated-lock-free-execution-for-dynamic-graph-ann-search-on-gpus",27,1784197525,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":40,"create_tm":197},273823,"AsmEvo - Agentic Assembly-Level Optimization of AMD GPU Kernels with Functional Equivalence Verification","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899557921/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=5iTreJNPbx%2FqthpGzhK0t6mut1o%3D","asmevo-agentic-assembly-level-optimization-of-amd-gpu-kernels-with-functional-equivalence-verification",17,1789472874,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":46,"category_name":40,"create_tm":203},82440,"A Quantum Path to Partial Differential Equations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808742442/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=VKcQENf%2BXe79jruiEnug8R5ButQ%3D","a-quantum-path-to-partial-differential-equations",1784180385,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":40,"create_tm":210},85341,"A Separation Logic for Parallel Time Complexity with Work and Span Credits","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809259487/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=ZdC3%2FgEdS7fwrkzt%2Fx%2FWlGimjCE%3D","a-separation-logic-for-parallel-time-complexity-with-work-and-span-credits",23,1784202636,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":56,"category_name":40,"create_tm":216},124605,"Semiparametric efficient estimation of genetic relatedness with machine learning methods","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229838275182/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=g49CZyptTJs9DTIyysnERR%2BYFow%3D","semiparametric-efficient-estimation-of-genetic-relatedness-with-machine-learning-methods",1785893269,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":209,"category_name":40,"create_tm":222},327569,"Training Hybrid Block Diffusion Language Models with Partial Bidirectionality","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909333383/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=tgQJwP3Fv%2FDhoptmLPWqfaDMvNc%3D","training-hybrid-block-diffusion-language-models-with-partial-bidirectionality",1789977573,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":228,"category_name":40,"create_tm":229},122151,"SIBILA - Automated Machine-Learning-Based Development of Interpretable Machine-Learning Models on High-Performance Computing Platforms","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836736765/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=i9bAlaUBV87ON5oFEulbzqF4DfM%3D","sibila-automated-machine-learning-based-development-of-interpretable-machine-learning-models-on-high-performance-computing-platforms",24,1785809084]