in reply to Re^2: Fork + Flock = Who Gets the Lock?
in thread Fork + Flock = Who Gets the Lock?

yes, the lock being released only "when all such descriptors have been closed" (in the absense of an explicit unlock) means exactly that.
  • Comment on Re^3: Fork + Flock = Who Gets the Lock?