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.