Searched refs:lock_mode (Results 1 – 1 of 1) sorted by relevance
624 int lock_mode, lock_flag, lock_dbf = 0; in php_dba_open() local739 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0; in php_dba_open()744 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; in php_dba_open()749 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; in php_dba_open()750 if (lock_mode) { in php_dba_open()770 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; in php_dba_open()791 if (!lock_mode) { in php_dba_open()802 lock_mode |= LOCK_NB; /* test =: non blocking */ in php_dba_open()818 info->lock.mode = lock_mode; in php_dba_open()834 if (!error && lock_mode) { in php_dba_open()[all …]
Completed in 7 milliseconds