Home
last modified time | relevance | path

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

/PHP-5.6/ext/dba/
H A Ddba.c624 int lock_mode, lock_flag, lock_dbf = 0; in php_dba_open() local
739 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