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

/PHP_TRUNK/ext/dba/
H A Ddba.c624 int lock_mode, lock_flag, lock_dbf = 0; local
744 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0;
749 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0;
754 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0;
755 if (lock_mode) {
775 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0;
796 if (!lock_mode) {
807 lock_mode |= LOCK_NB; /* test =: non blocking */
823 info->lock.mode = lock_mode;
831 if ( ( (lock_mode
[all...]

Completed in 3 milliseconds