Synchronization in Concurrent Data Structures Based on the Analysis of Dependencies between Operations

Denis Korotchenko, Виталий Евгеньевич Аксенов · Bulletin of the South Ural State University Series Computational Mathematics and Software Engineering · 2026

This paper examines the synchronization of operations in thread-safe data structures. In different data structures, operations may conflict with each other in different ways in terms of concurrency. For example, a standard Read-Write lock recognizes that concurrent read accesses from different threads are often permissible, while parallel writes from different threads or parallel reads and writes most often require synchronization. This dependency can also be more complex: for example, incrementing all elements in a container by a given value is permissible with synchronization at the element access level, while concurrently assigning one number from one thread and a different number from another thread to all elements of a container requires more complex synchronization. This paper examines various methods for organizing synchronization between operations. The main result is a proposed new approach to ensuring such synchronization, based on the analysis of the dependency graph between operations, which ensures more efficient synchronization of the structure. Experimental results comparing various approaches are also presented, demonstrating the effectiveness of the proposed solution.

Cited by 0 works. doi:10.14529/cmse260205 Open-access PDF

Authors