/PHP-8.0/sapi/fpm/fpm/ |
H A D | fpm_atomic.h | 37 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /*… in atomic_cmp_set() argument 42 "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory"); in atomic_cmp_set() 68 "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory"); in atomic_cmp_set() 100 __asm__ __volatile__("casx [%2], %3, %0 " : "=&r"(new) : "0"(new), "r"(lock), "r"(old): "memory"); in atomic_cas_64() 108 return (atomic_cas_64(lock, old, set)==old); in atomic_cmp_set() 117 __asm__ __volatile__("cas [%2], %3, %0 " : "=&r"(new) : "0"(new), "r"(lock), "r"(old): "memory"); in atomic_cas_32() 125 return (atomic_cas_32(lock, old, set)==old); in atomic_cmp_set() 140 static inline int fpm_spinlock(atomic_t *lock, int try_once) /* {{{ */ in fpm_spinlock() argument 143 return atomic_cmp_set(lock, 0, 1) ? 1 : 0; in fpm_spinlock() 148 if (atomic_cmp_set(lock, 0, 1)) { in fpm_spinlock() [all …]
|
H A D | fpm_scoreboard.c | 96 fpm_spinlock(&scoreboard->lock, 0); in fpm_scoreboard_update_begin() 173 fpm_unlock(scoreboard->lock); in fpm_scoreboard_update_commit() 244 if (!fpm_spinlock(&s->lock, nohang)) { in fpm_scoreboard_acquire() 256 scoreboard->lock = 0; in fpm_scoreboard_release() 325 if (!fpm_spinlock(&proc->lock, nohang)) { in fpm_scoreboard_proc_acquire() 339 proc->lock = 0; in fpm_scoreboard_proc_release()
|
H A D | fpm_scoreboard.h | 23 atomic_t lock; member 52 atomic_t lock; member
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_change_user_get_lock.phpt | 17 $lock = 'phptest_' . mt_rand(0, 100000); 22 if (!$res = mysqli_query($link, sprintf('SELECT GET_LOCK("%s", 2) AS _ok', $lock))) 31 printf("... lock '%s' acquired by thread %d\n", $lock, $thread_id); 44 printf("... calling IS_USED_LOCK() on '%s' using thread '%d'\n", $lock, $new_thread_id); 53 $lock, 56 printf("... calling IS_FREE_LOCK() on '%s' using thread '%d'\n", $lock, $new_thread_id); 65 $lock, 70 /* Ok, let's try a NEW connection and a NEW lock! */ 78 } while ($lock == $newlock); 90 $lock, [all …]
|
H A D | mysqli_change_user_locks_temporary.phpt | 23 printf("[003] Reading from test should not be possible due to a lock, [%d] %s\n",
|
H A D | mysqli_insert_id.phpt | 67 between the second last insert and the lock, therefore don't stop just bail
|
H A D | bug79375.phpt | 2 Bug #79375: mysqli_store_result does not report error from lock wait timeout
|
/PHP-8.0/ext/dba/tests/ |
H A D | dba016.phpt | 2 DBA lock modifier error message test 25 Warning: dba_popen(%stest0.dbm,n-t): You cannot combine modifiers - (no lock) and t (test lock) in …
|
H A D | clean.inc | 5 @unlink($db_filename.'-lock');
|
H A D | dba_lmdb.phpt | 12 $lock_flag = ''; // lock in library
|
H A D | dba_qdbm.phpt | 12 $lock_flag = ''; // lock in library
|
H A D | dba_gdbm.phpt | 12 $lock_flag = ''; // lock in library
|
/PHP-8.0/ext/dba/ |
H A D | dba.c | 338 if (info->lock.fp) { in dba_close() 342 php_stream_close(info->lock.fp); in dba_close() 345 if (info->lock.name) { in dba_close() 765 info->lock.mode = lock_mode; in php_dba_open() 795 if (!info->lock.fp) { in php_dba_open() 805 if (!info->lock.fp) { in php_dba_open() 807 if (info->lock.fp) { in php_dba_open() 821 if (!info->lock.fp) { in php_dba_open() 837 if (info->lock.fp && lock_dbf) { in php_dba_open() 863 if (info->lock.fp != NULL) { in php_dba_open() [all …]
|
H A D | php_dba.h | 52 dba_lock lock; member
|
/PHP-8.0/main/ |
H A D | fastcgi.c | 95 struct flock lock; \ 96 lock.l_type = F_WRLCK; \ 97 lock.l_start = 0; \ 98 lock.l_whence = SEEK_SET; \ 99 lock.l_len = 0; \ 111 struct flock lock; \ 112 lock.l_type = F_UNLCK; \ 113 lock.l_start = 0; \ 114 lock.l_whence = SEEK_SET; \ 115 lock.l_len = 0; \ [all …]
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg.init.d | 8 LOCKFILE=/var/lock/subsys/phpdbg
|
/PHP-8.0/ext/pcre/tests/ |
H A D | bug76514.phpt | 427 "name": "composer.json/composer.lock", 443 "composer.json/composer.lock": "dev-597511d6d51b96e4a8afeba2c79982e5", 502 "composer.json/composer.lock": "dev-597511d6d51b96e4a8afeba2c79982e5",
|
H A D | preg_match_error4.phpt | 815 "name": "composer.json\\/composer.lock", 831 "composer.json\\/composer.lock": "dev-a923f6cdbbc9439cabb74aa9003f6d51",
|
/PHP-8.0/ext/session/tests/ |
H A D | save_handler.inc | 13 * Session data lock is mandatory. Lock must be exclusive. i.e. Block read also. 51 // NOTE: All production session save handler MUST implement "exclusive" lock.
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | bug79375.phpt | 2 Bug #79375: mysqli_store_result does not report error from lock wait timeout
|
/PHP-8.0/ext/standard/ |
H A D | var_unserializer.re | 57 …/* fprintf(stderr, "UNSERIALIZE_INIT == lock: %u, level: %u\n", BG(serialize_lock), BG(unserial… 80 …/* fprintf(stderr, "UNSERIALIZE_DESTROY == lock: %u, level: %u\n", BG(serialize_lock), BG(unserial…
|
/PHP-8.0/docs/ |
H A D | streams.md | 172 or not a lock can be set on this stream. Typically you can only set locks on
|
/PHP-8.0/build/ |
H A D | libtool.m4 | 195 AC_ARG_ENABLE([libtool-lock], 196 [ --disable-libtool-lock Avoid locking (might break parallel builds)]) 563 #AC_ARG_ENABLE([libtool-lock], 564 #[ --disable-libtool-lock avoid locking (might break parallel builds)]) 1184 # Check to see if we can do hard links to lock some files if needed 1191 AC_MSG_CHECKING([if we can lock with hard links]) 4269 # Must we lock files when doing compilation?
|
/PHP-8.0/ |
H A D | NEWS | 185 . Fixed bug GH-8923 (error_log on Windows can hold the file write lock). (cmb)
|