Home
last modified time | relevance | path

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

/PHP-7.4/TSRM/
H A DTSRM.c35 THREAD_T thread_id; member
402 (*thread_resources_ptr)->thread_id = thread_id; in allocate_new_resource()
438 THREAD_T thread_id; in ts_resource_ex() local
458 thread_id = tsrm_thread_id(); in ts_resource_ex()
460 thread_id = *th_id; in ts_resource_ex()
471 return ts_resource_ex(id, &thread_id); in ts_resource_ex()
474 if (thread_resources->thread_id == thread_id) { in ts_resource_ex()
544 THREAD_T thread_id; in tsrm_new_interpreter_context() local
546 thread_id = tsrm_thread_id(); in tsrm_new_interpreter_context()
564 THREAD_T thread_id = tsrm_thread_id(); in ts_free_thread() local
[all …]
H A DTSRM.h124 typedef void (*tsrm_thread_begin_func_t)(THREAD_T thread_id);
125 typedef void (*tsrm_thread_end_func_t)(THREAD_T thread_id);
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_pconn_conn_multiple.phpt23 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 Dmysqli_connect_twice.phpt17 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 Dmysqli_poll_mixing_insert_select.phpt73 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);
116 foreach ($links as $thread_id => $link) {
117 if (isset($saved_errors[$thread_id])) {
119 $links[$thread_id]['query'], $saved_errors[$thread_id]);
120 if ($saved_errors[$thread_id] != mysqli_errno($link['link'])) {
122 $saved_errors[$thread_id], mysqli_errno($link['link']));
H A Dmysqli_class_mysqli_properties_no_conn.phpt82 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),
163 thread_id = 'false'
183 thread_id = 'false'
200 Warning: assert(): assert(@mysqli_thread_id($mysqli) > @$mysqli->thread_id) failed in %s on line %d
201 mysqli->thread_id = ''/boolean (''/boolean)
234 thread_id = 'false'
254 thread_id = 'false'
[all …]
H A D071.phpt2 mysqli thread_id & kill
18 $ret = $mysql->kill($mysql->thread_id);
45 $ret = $mysql->kill($mysql->thread_id);
H A Dmysqli_poll_kill.phpt33 $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 Dmysqli_class_mysqli_interface.phpt112 "thread_id" => true,
213 assert(mysqli_thread_id($link) > $mysqli->thread_id);
214 assert(gettype($mysqli->thread_id) == gettype(mysqli_thread_id($link)));
215 printf("mysqli->thread_id = '%s'/%s ('%s'/%s)\n",
216 $mysqli->thread_id, gettype($mysqli->thread_id),
287 mysqli->thread_id = '%d'/integer ('%d'/integer)
H A Dmysqli_kill.phpt28 if (!$thread_id = mysqli_thread_id($link))
31 $tmp = mysqli_kill($link, $thread_id);
127 ["thread_id"]=>
H A Dmysqli_poll_reference.phpt129 $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 Dmysqli_pconn_reuse.phpt45 $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 Dmysqli_pconn_kill.phpt24 $thread_id = mysqli_thread_id($link);
38 if (!isset($running_threads[$thread_id]))
61 if (!isset($running_threads2[$thread_id]))
H A Dmysqli_change_user_get_lock.phpt19 $thread_id = mysqli_thread_id($link);
32 printf("... lock '%s' acquired by thread %d\n", $lock, $thread_id);
H A Dbug34810.phpt96 ["thread_id"]=>
H A Dmysqli_insert_id_variation.phpt47 /*$link->kill($link->thread_id);
H A Dmysqli_class_mysqli_reflection.phpt1318 Inspecting property 'thread_id'
1349 Default property 'thread_id'
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_connection.c338 DBG_INF_FMT("conn=%llu", conn->thread_id); in MYSQLND_METHOD_PRIVATE()
905 DBG_INF_FMT("conn=%llu", conn->thread_id);
1030 DBG_INF_FMT("conn=%llu", conn->thread_id);
1053 DBG_INF_FMT("conn=%llu", conn->thread_id);
1093 DBG_INF_FMT("conn=%llu", conn->thread_id);
1113 DBG_INF_FMT("conn=%llu", conn->thread_id);
1428 return conn->thread_id;
1482 DBG_INF_FMT("conn=%llu", conn->thread_id);
1865 DBG_INF_FMT("conn=%llu", conn->thread_id);
2332 MYSQLND_METHOD(mysqlnd_conn_data, thread_id),
[all …]
H A Dmysqlnd_wireprotocol.h66 uint32_t thread_id; member
H A Dmysqlnd_commands.c650 conn->thread_id = greet_packet.thread_id; in MYSQLND_METHOD()
H A Dmysqlnd_wireprotocol.c379 packet->thread_id = uint4korr(p); in php_mysqlnd_greet_read()
449 packet->protocol_version, packet->server_version, packet->thread_id); in php_mysqlnd_greet_read()
H A Dmysqlnd_structs.h930 uint64_t thread_id; member
/PHP-7.4/Zend/
H A Dzend.c738 static void zend_new_thread_end_handler(THREAD_T thread_id) /* {{{ */ in zend_new_thread_end_handler() argument

Completed in 108 milliseconds