Searched refs:lock_operation (Results 1 – 1 of 1) sorted by relevance
135 int lock_operation; in lock() local150 lock_operation = LOCK_SH; in lock()152 lock_operation = LOCK_EX; in lock()159 lock_operation |= LOCK_NB; in lock()163 if (::flock(mFD, lock_operation) == 0) { in lock()