/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit_perf_dump.c | 94 uint32_t thread_id; member 216 uint32_t thread_id = 0; in zend_jit_perf_jitdump_register() local 218 thread_id = syscall(SYS_gettid); in zend_jit_perf_jitdump_register() 222 thread_id = (uint32_t) thread_id_u64; in zend_jit_perf_jitdump_register() 226 thread_id = (uint32_t)tid; in zend_jit_perf_jitdump_register() 228 thread_id = getthrid(); in zend_jit_perf_jitdump_register() 230 thread_id = _lwp_self(); in zend_jit_perf_jitdump_register() 232 thread_id = lwp_gettid(); in zend_jit_perf_jitdump_register() 234 thread_id = thr_self(); in zend_jit_perf_jitdump_register() 242 rec.thread_id = thread_id; in zend_jit_perf_jitdump_register()
|
/PHP-8.0/TSRM/ |
H A D | TSRM.c | 35 THREAD_T thread_id; member 382 (*thread_resources_ptr)->thread_id = thread_id; in allocate_new_resource() 408 tsrm_new_thread_end_handler(thread_id); in allocate_new_resource() 418 THREAD_T thread_id; in ts_resource_ex() local 438 thread_id = tsrm_thread_id(); in ts_resource_ex() 440 thread_id = *th_id; in ts_resource_ex() 451 return ts_resource_ex(id, &thread_id); in ts_resource_ex() 454 if (thread_resources->thread_id == thread_id) { in ts_resource_ex() 461 return ts_resource_ex(id, &thread_id); in ts_resource_ex() 483 THREAD_T thread_id = tsrm_thread_id(); in ts_free_thread() local [all …]
|
H A D | TSRM.h | 112 typedef void (*tsrm_thread_begin_func_t)(THREAD_T thread_id); 113 typedef void (*tsrm_thread_end_func_t)(THREAD_T thread_id);
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_pconn_conn_multiple.phpt | 22 if (!$thread_id = $link->thread_id) 31 if ($thread_id == $new_thread_id) 32 …w connection and new thread id. Old thread id %d, new thread id %d\n", $thread_id, $new_thread_id); 47 if (!$thread_id = $link->thread_id) 53 if (!is_int($new_thread_id = $link->thread_id) || ($new_thread_id < 0)) 56 if ($thread_id == $new_thread_id) 84 if (!$thread_id = mysqli_thread_id($link)) 93 if ($thread_id == $new_thread_id) 109 if (!$thread_id = $link->thread_id) 115 if (!is_int($new_thread_id = $link->thread_id) || ($new_thread_id < 0)) [all …]
|
H A D | mysqli_connect_twice.phpt | 16 if (!$thread_id = mysqli_thread_id($link)) 25 if ($thread_id == $new_thread_id) 26 …w connection and new thread id. Old thread id %d, new thread id %d\n", $thread_id, $new_thread_id); 41 if (!$thread_id = $link->thread_id) 47 if (!is_int($new_thread_id = $link->thread_id) || ($new_thread_id < 0)) 50 if ($thread_id == $new_thread_id) 51 …w connection and new thread id. Old thread id %d, new thread id %d\n", $thread_id, $new_thread_id);
|
H A D | mysqli_poll_mixing_insert_select.phpt | 72 foreach ($links as $thread_id => $link) { 94 $thread_id = mysqli_thread_id($link); 95 $links[$thread_id]['processed'] = true; 107 $saved_errors[$thread_id] = mysqli_errno($link); 115 foreach ($links as $thread_id => $link) { 116 if (isset($saved_errors[$thread_id])) { 118 $links[$thread_id]['query'], $saved_errors[$thread_id]); 119 if ($saved_errors[$thread_id] != mysqli_errno($link['link'])) { 121 $saved_errors[$thread_id], mysqli_errno($link['link']));
|
H A D | 071.phpt | 2 mysqli thread_id & kill 17 $ret = $mysql->kill($mysql->thread_id); 44 $ret = $mysql->kill($mysql->thread_id);
|
H A D | mysqli_poll_kill.phpt | 32 $thread_id = mysqli_thread_id($link); 33 mysqli_kill(get_connection(), $thread_id); 75 if (mysqli_thread_id($mysqli) != $thread_id) { 77 mysqli_thread_id($mysqli), $thread_id); 87 $thread_id = mysqli_thread_id($link); 88 mysqli_kill(get_connection(), $thread_id); 145 $thread_id = mysqli_thread_id($link); 146 mysqli_kill(get_connection(), $thread_id);
|
H A D | mysqli_kill.phpt | 21 if (!$thread_id = mysqli_thread_id($link)) 24 $tmp = mysqli_kill($link, $thread_id); 129 ["thread_id"]=>
|
H A D | mysqli_class_mysqli_interface.phpt | 111 "thread_id" => true, 212 assert(mysqli_thread_id($link) > $mysqli->thread_id); 213 assert(gettype($mysqli->thread_id) == gettype(mysqli_thread_id($link))); 214 printf("mysqli->thread_id = '%s'/%s ('%s'/%s)\n", 215 $mysqli->thread_id, gettype($mysqli->thread_id), 286 mysqli->thread_id = '%d'/integer ('%d'/integer)
|
H A D | mysqli_poll_reference.phpt | 128 $thread_id = mysqli_thread_id($mysqli2); 129 printf("Connection %d should be rejected...\n", $thread_id); 145 if (mysqli_thread_id($link) != $thread_id) { 147 $thread_id, mysqli_thread_id($link));
|
H A D | mysqli_pconn_reuse.phpt | 44 $thread_id = mysqli_thread_id($link2); 45 printf("Connection 2 (no reuse) - Thread ID -> '%s'\n", $thread_id); 76 if ($thread_id != $thread_id_reuse)
|
H A D | mysqli_pconn_kill.phpt | 23 $thread_id = mysqli_thread_id($link); 37 if (!isset($running_threads[$thread_id])) 60 if (!isset($running_threads2[$thread_id]))
|
H A D | mysqli_change_user_get_lock.phpt | 18 $thread_id = mysqli_thread_id($link); 31 printf("... lock '%s' acquired by thread %d\n", $lock, $thread_id);
|
H A D | bug34810.phpt | 96 ["thread_id"]=>
|
H A D | mysqli_insert_id_variation.phpt | 47 /*$link->kill($link->thread_id);
|
H A D | mysqli_class_mysqli_properties_no_conn.phpt | 147 $mysqli->thread_id;
|
/PHP-8.0/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 336 DBG_INF_FMT("conn=%llu", conn->thread_id); in MYSQLND_METHOD_PRIVATE() 903 DBG_INF_FMT("conn=%llu", conn->thread_id); 1028 DBG_INF_FMT("conn=%llu", conn->thread_id); 1051 DBG_INF_FMT("conn=%llu", conn->thread_id); 1091 DBG_INF_FMT("conn=%llu", conn->thread_id); 1111 DBG_INF_FMT("conn=%llu", conn->thread_id); 1423 return conn->thread_id; 1469 DBG_INF_FMT("conn=%llu", conn->thread_id); 1852 DBG_INF_FMT("conn=%llu", conn->thread_id); 2319 MYSQLND_METHOD(mysqlnd_conn_data, thread_id), [all …]
|
H A D | mysqlnd_wireprotocol.h | 64 uint32_t thread_id; member
|
H A D | mysqlnd_commands.c | 648 conn->thread_id = greet_packet.thread_id; in MYSQLND_METHOD()
|
H A D | mysqlnd_wireprotocol.c | 385 packet->thread_id = uint4korr(p); in php_mysqlnd_greet_read() 455 packet->protocol_version, packet->server_version, packet->thread_id); in php_mysqlnd_greet_read()
|
H A D | mysqlnd_structs.h | 928 uint64_t thread_id; member
|
/PHP-8.0/Zend/ |
H A D | zend.c | 769 static void zend_new_thread_end_handler(THREAD_T thread_id) /* {{{ */ in zend_new_thread_end_handler() argument
|