Searched refs:lock_operation (Results 1 – 1 of 1) sorted by relevance
138 int lock_operation; in lock() local153 lock_operation = LOCK_SH; in lock()155 lock_operation = LOCK_EX; in lock()162 lock_operation |= LOCK_NB; in lock()166 if (::flock(mFD, lock_operation) == 0) { in lock()