Results 1 to 2 of 2

difference between a shared lock and exclusive lock ?

This is a discussion on difference between a shared lock and exclusive lock ? within the Programming forums, part of the Web Designing & Development category; Hello Dear, Please Tel Me What is the difference between a shared lock and exclusive lock ?...

  1. #1
    Senior Member
    Join Date
    Nov 2016
    Posts
    135

    Default difference between a shared lock and exclusive lock ?

    Hello Dear,


    Please Tel Me What is the difference between a shared lock and exclusive lock ?

  2. #2
    Senior Member
    Join Date
    Jan 2018
    Location
    PUNE
    Posts
    281

    Default Re: difference between a shared lock and exclusive lock ?

    An exclusive or write lock gives a process exclusive access for writing to the specified part of the file. While a write lock is in place, no other process can lock that part of the file. A shared or read lock prohibits any other process from requesting a write lock on the specified part of the file