/PHP-7.3/TSRM/ |
H A D | TSRM.c | 32 THREAD_T thread_id; member 301 (*thread_resources_ptr)->thread_id = thread_id; in allocate_new_resource() 333 THREAD_T thread_id; in ts_resource_ex() local 353 thread_id = tsrm_thread_id(); in ts_resource_ex() 355 thread_id = *th_id; in ts_resource_ex() 369 if (thread_resources->thread_id == thread_id) { in ts_resource_ex() 437 THREAD_T thread_id; in tsrm_new_interpreter_context() local 439 thread_id = tsrm_thread_id(); in tsrm_new_interpreter_context() 457 THREAD_T thread_id = tsrm_thread_id(); in ts_free_thread() local 466 if (thread_resources->thread_id == thread_id) { in ts_free_thread() [all …]
|
H A D | TSRM.h | 116 typedef void (*tsrm_thread_begin_func_t)(THREAD_T thread_id); 117 typedef void (*tsrm_thread_end_func_t)(THREAD_T thread_id);
|
/PHP-7.3/ext/mysqli/tests/ |
H A D | mysqli_pconn_conn_multiple.phpt | 23 if (!$thread_id = $link->thread_id) 32 if ($thread_id == $new_thread_id) 33 …w connection and new thread id. Old thread id %d, new thread id %d\n", $thread_id, $new_thread_id); 48 if (!$thread_id = $link->thread_id) 54 if (!is_int($new_thread_id = $link->thread_id) || ($new_thread_id < 0)) 57 if ($thread_id == $new_thread_id) 85 if (!$thread_id = mysqli_thread_id($link)) 94 if ($thread_id == $new_thread_id) 110 if (!$thread_id = $link->thread_id) 116 if (!is_int($new_thread_id = $link->thread_id) || ($new_thread_id < 0)) [all …]
|
H A D | mysqli_connect_twice.phpt | 17 if (!$thread_id = mysqli_thread_id($link)) 26 if ($thread_id == $new_thread_id) 27 …w connection and new thread id. Old thread id %d, new thread id %d\n", $thread_id, $new_thread_id); 42 if (!$thread_id = $link->thread_id) 48 if (!is_int($new_thread_id = $link->thread_id) || ($new_thread_id < 0)) 51 if ($thread_id == $new_thread_id) 52 …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 | 73 foreach ($links as $thread_id => $link) { 95 $thread_id = mysqli_thread_id($link); 96 $links[$thread_id]['processed'] = true; 108 $saved_errors[$thread_id] = mysqli_errno($link); 109 printf("[003] '%s' caused %d\n", $links[$thread_id]['query'], mysqli_errno($link)); 117 foreach ($links as $thread_id => $link) { 118 if (isset($saved_errors[$thread_id]) && 119 $saved_errors[$thread_id] != mysqli_errno($link['link'])) { 121 $saved_errors[$thread_id], mysqli_errno($link['link']));
|
H A D | mysqli_class_mysqli_properties_no_conn.phpt | 82 assert(@mysqli_thread_id($mysqli) > @$mysqli->thread_id); 83 assert(gettype(@$mysqli->thread_id) == gettype(@mysqli_thread_id($mysqli))); 84 printf("mysqli->thread_id = '%s'/%s ('%s'/%s)\n", 85 @$mysqli->thread_id, gettype(@$mysqli->thread_id), 164 thread_id = 'false' 185 thread_id = 'false' 202 Warning: assert(): assert(@mysqli_thread_id($mysqli) > @$mysqli->thread_id) failed in %s on line %d 203 mysqli->thread_id = ''/boolean (''/boolean) 237 thread_id = 'false' 258 thread_id = 'false' [all …]
|
H A D | mysqli_poll_kill.phpt | 33 $thread_id = mysqli_thread_id($link); 34 mysqli_kill(get_connection(), $thread_id); 76 if (mysqli_thread_id($mysqli) != $thread_id) { 78 mysqli_thread_id($mysqli), $thread_id); 88 $thread_id = mysqli_thread_id($link); 89 mysqli_kill(get_connection(), $thread_id); 146 $thread_id = mysqli_thread_id($link); 147 mysqli_kill(get_connection(), $thread_id);
|
H A D | 071.phpt | 2 mysqli thread_id & kill 18 $ret = $mysql->kill($mysql->thread_id); 45 $ret = $mysql->kill($mysql->thread_id);
|
H A D | mysqli_class_mysqli_interface.phpt | 113 "thread_id" => true, 219 assert(mysqli_thread_id($link) > $mysqli->thread_id); 220 assert(gettype($mysqli->thread_id) == gettype(mysqli_thread_id($link))); 221 printf("mysqli->thread_id = '%s'/%s ('%s'/%s)\n", 222 $mysqli->thread_id, gettype($mysqli->thread_id), 294 mysqli->thread_id = '%d'/integer ('%d'/integer)
|
H A D | mysqli_poll_reference.phpt | 129 $thread_id = mysqli_thread_id($mysqli2); 130 printf("Connection %d should be rejected...\n", $thread_id); 146 if (mysqli_thread_id($link) != $thread_id) { 148 $thread_id, mysqli_thread_id($link));
|
H A D | mysqli_kill.phpt | 28 if (!$thread_id = mysqli_thread_id($link)) 31 $tmp = mysqli_kill($link, $thread_id); 132 ["thread_id"]=>
|
H A D | mysqli_pconn_reuse.phpt | 45 $thread_id = mysqli_thread_id($link2); 46 printf("Connection 2 (no reuse) - Thread ID -> '%s'\n", $thread_id); 77 if ($thread_id != $thread_id_reuse)
|
H A D | mysqli_pconn_kill.phpt | 24 $thread_id = mysqli_thread_id($link); 38 if (!isset($running_threads[$thread_id])) 61 if (!isset($running_threads2[$thread_id]))
|
H A D | bug34810.phpt | 101 ["thread_id"]=> 141 ["thread_id"]=>
|
H A D | mysqli_change_user_get_lock.phpt | 19 $thread_id = mysqli_thread_id($link); 32 printf("... lock '%s' acquired by thread %d\n", $lock, $thread_id);
|
H A D | mysqli_insert_id_variation.phpt | 47 /*$link->kill($link->thread_id);
|
H A D | mysqli_real_connect.phpt | 216 ["thread_id"]=>
|
H A D | mysqli_class_mysqli_reflection.phpt | 1328 Inspecting property 'thread_id' 1360 Default property 'thread_id'
|
/PHP-7.3/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 338 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); 1430 return conn->thread_id; 1484 DBG_INF_FMT("conn=%llu", conn->thread_id); 1859 DBG_INF_FMT("conn=%llu", conn->thread_id); 2326 MYSQLND_METHOD(mysqlnd_conn_data, thread_id), [all …]
|
H A D | mysqlnd_wireprotocol.h | 66 uint32_t thread_id; member
|
H A D | mysqlnd_commands.c | 1246 conn->thread_id = greet_packet.thread_id; in mysqlnd_com_handshake_run()
|
H A D | mysqlnd_wireprotocol.c | 380 packet->thread_id = uint4korr(p); in php_mysqlnd_greet_read() 450 packet->protocol_version, packet->server_version, packet->thread_id); in php_mysqlnd_greet_read()
|
H A D | mysqlnd_structs.h | 879 uint64_t thread_id; member
|
/PHP-7.3/Zend/ |
H A D | zend.c | 715 static void zend_new_thread_end_handler(THREAD_T thread_id) /* {{{ */ in zend_new_thread_end_handler() argument
|