Shared-locking for Semantic Conflict Prevention in Real-Time Collaborative Programming

Hongfei Fan,Hongming Zhu,Qin Liu,Yang Shi,Chengzheng Sun
DOI: https://doi.org/10.1109/cscwd.2017.8066690
2017-01-01
Abstract:Real-time collaborative programming allows programmers to concurrently edit shared source code over communication networks. To support semantic conflict prevention, prior work has proposed a bask dependency-based automatic locking (DAL) approach to automatically grant locks on source code regions with dependency relationships, under the assumptions that there exists no locking-scope overlapping among concurrent editing operations, and the source code structure remains static during the collaboration process. To address major restrictions of the basic DAL scheme, this paper presents a shard-locking approach and techniques to fully support unconstrained real-time collaborative programming with semantic conflict prevention. The approach allows multiple programmers to concurrently edit source code regions with overlapping locking scopes in the presence of concurrent editing operations and dynamic source code structures. The techniques and solutions have been implemented in a research prototype for evaluations.
What problem does this paper attempt to address?