Home
last modified time | relevance | path

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

/PHP-8.2/ext/dba/
H A Ddba.c466 int lock_mode, lock_flag = 0; in php_dba_open() local
640 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0; in php_dba_open()
645 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; in php_dba_open()
656 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; in php_dba_open()
657 if (lock_mode) { in php_dba_open()
693 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; in php_dba_open()
710 if (!lock_mode) { in php_dba_open()
721 lock_mode |= LOCK_NB; /* test =: non blocking */ in php_dba_open()
733 info->lock.mode = lock_mode; in php_dba_open()
752 if (!error && lock_mode) { in php_dba_open()
[all …]

Completed in 6 milliseconds