Searched refs:lock_mode (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/dba/
H A Ddba.c626 int lock_mode, lock_flag, lock_dbf = 0; local
746 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0;
751 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0;
756 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0;
757 if (lock_mode) {
777 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0;
798 if (!lock_mode) {
809 lock_mode |= LOCK_NB; /* test =: non blocking */
825 info->lock.mode = lock_mode;
833 if ( ( (lock_mode
[all...]

Completed in 3 milliseconds