QUERY regarding semaphores?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
         I have a Query regarding semaphores, is semaphores a mandatory lock mechanism ( like lockf() ) ,or an advisory lock mechanism ( like flock () ).
          If it is an advisory lock mechanism, in which situation the lock be ignored by the other process ( say process2 ) trying to access the data which is locked by process1.

Thank you,
         Badari.
    




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux