4.6 Article

A Novel DAL Scheme With Shared-Locking for Semantic Conflict Prevention in Unconstrained Real-Time Collaborative Programming

Journal

IEEE ACCESS
Volume 5, Issue -, Pages 22566-22583

Publisher

IEEE-INST ELECTRICAL ELECTRONICS ENGINEERS INC
DOI: 10.1109/ACCESS.2017.2760914

Keywords

Dependency-based automatic locking (DAL); locking state update; real-time collaborative programming; responsiveness; semantic conflict prevention; shared-locking

Funding

  1. National Natural Science Foundation of China [61702374, 61772371, 61202382]
  2. Academic Research Grant from MOE Singapore [MOE2015-T2-1-087]
  3. Shanghai Sailing Program [17YF1420500]
  4. National Key Research and Development Program of China [2016YFB1000805]
  5. Fundamental Research Funds for the Central Universities
  6. Scientific Research Foundation for the Returned Overseas Chinese Scholars

Ask authors/readers for more resources

Real-time collaborative programming allows a team of programmers to concurrently edit the shared source code document at the same time. To support semantic conflict prevention in real-time collaborative programming, a dependency-based automatic locking (DAL) approach was proposed in prior work, which automatically grants locks on source code regions with dependency relationships. The prior DAL scheme was devised under two assumptions that are not realistic, and together with other restrictions, they become serious problems in applying the DAL approach and techniques in real-world programming scenarios. To address the issues under the prior DAL scheme, this paper presents a novel DAL scheme with a shared-locking approach, which ensures the responsiveness, effectiveness, and consistency of semantic conflict prevention in unconstrained real-time collaborative programming. Under the novel DAL scheme, programmers can perform concurrent editing operations with overlapping locking scopes and perform editing operations that may dynamically change the source code structure, while three types of shared-locking are allowed under well-defined circumstances with reasonable design rationales. In addition, we have presented major technical issues and solutions in realizing the scheme, which has been implemented in a research prototype. Experimental evaluations have confirmed the good performance of the novel DAL scheme and its supporting techniques.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available