Home
last modified time | relevance | path

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

/PHP-8.0/ext/dba/
H A Ddba.c538 int lock_mode, lock_flag, lock_dbf = 0; in php_dba_open() local
664 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0; in php_dba_open()
669 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; in php_dba_open()
680 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; in php_dba_open()
681 if (lock_mode) { in php_dba_open()
717 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; in php_dba_open()
738 if (!lock_mode) { in php_dba_open()
749 lock_mode |= LOCK_NB; /* test =: non blocking */ in php_dba_open()
765 info->lock.mode = lock_mode; in php_dba_open()
784 if (!error && lock_mode) { in php_dba_open()
[all …]

Completed in 5 milliseconds