/php-src/TSRM/ |
H A D | TSRM.c | 35 THREAD_T thread_id; member 387 (*thread_resources_ptr)->thread_id = thread_id; in allocate_new_resource() 412 tsrm_new_thread_end_handler(thread_id); in allocate_new_resource() 419 THREAD_T thread_id; in ts_resource_ex() local 439 thread_id = tsrm_thread_id(); in ts_resource_ex() 441 thread_id = *th_id; in ts_resource_ex() 453 return ts_resource_ex(id, &thread_id); in ts_resource_ex() 456 while (thread_resources->thread_id != thread_id) { in ts_resource_ex() 482 TSRM_ASSERT(thread_resources->thread_id == thread_id); in ts_resource_ex() 513 THREAD_T thread_id = tsrm_thread_id(); in ts_free_thread() local [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-src/ext/opcache/jit/ir/ |
H A D | ir_perf.c | 81 uint32_t thread_id; member 211 uint32_t thread_id = 0; in ir_perf_jitdump_register() local 213 thread_id = syscall(SYS_gettid); in ir_perf_jitdump_register() 217 thread_id = (uint32_t) thread_id_u64; in ir_perf_jitdump_register() 221 thread_id = (uint32_t)tid; in ir_perf_jitdump_register() 223 thread_id = getthrid(); in ir_perf_jitdump_register() 225 thread_id = _lwp_self(); in ir_perf_jitdump_register() 227 thread_id = lwp_gettid(); in ir_perf_jitdump_register() 229 thread_id = thr_self(); in ir_perf_jitdump_register() 237 rec.thread_id = thread_id; in ir_perf_jitdump_register()
|
/php-src/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); 46 if (!$thread_id = $link->thread_id) 52 if (!is_int($new_thread_id = $link->thread_id) || ($new_thread_id < 0)) 55 if ($thread_id == $new_thread_id) 83 if (!$thread_id = mysqli_thread_id($link)) 92 if ($thread_id == $new_thread_id) 106 if (!$thread_id = $link->thread_id) 112 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); 40 if (!$thread_id = $link->thread_id) 46 if (!is_int($new_thread_id = $link->thread_id) || ($new_thread_id < 0)) 49 if ($thread_id == $new_thread_id) 50 …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 | 91 $thread_id = mysqli_thread_id($link); 92 $links[$thread_id]['processed'] = true; 104 $saved_errors[$thread_id] = mysqli_errno($link); 112 foreach ($links as $thread_id => $link) { 113 if (isset($saved_errors[$thread_id])) { 115 $links[$thread_id]['query'], $saved_errors[$thread_id]); 116 if ($saved_errors[$thread_id] != mysqli_errno($link['link'])) { 118 $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); 30 $ret = $mysql->kill($mysql->thread_id);
|
H A D | mysqli_poll_kill.phpt | 29 $thread_id = mysqli_thread_id($link); 30 get_connection()->query('KILL '.$thread_id); 72 if (mysqli_thread_id($mysqli) != $thread_id) { 74 mysqli_thread_id($mysqli), $thread_id); 84 $thread_id = mysqli_thread_id($link); 85 get_connection()->query('KILL '.$thread_id); 142 $thread_id = mysqli_thread_id($link); 143 get_connection()->query('KILL '.$thread_id);
|
H A D | mysqli_class_mysqli_interface.phpt | 110 "thread_id" => true, 211 assert(mysqli_thread_id($link) > $mysqli->thread_id); 212 assert(gettype($mysqli->thread_id) == gettype(mysqli_thread_id($link))); 213 printf("mysqli->thread_id = '%s'/%s ('%s'/%s)\n", 214 $mysqli->thread_id, gettype($mysqli->thread_id), 285 mysqli->thread_id = '%d'/integer ('%d'/integer)
|
H A D | mysqli_kill.phpt | 19 if (!$thread_id = mysqli_thread_id($link)) 22 mysqli_kill($link, $thread_id); 123 ["thread_id"]=>
|
H A D | mysqli_poll_reference.phpt | 125 $thread_id = mysqli_thread_id($mysqli2); 126 printf("Connection %d should be rejected...\n", $thread_id); 142 if (mysqli_thread_id($link) != $thread_id) { 144 $thread_id, mysqli_thread_id($link));
|
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 | 22 $thread_id = mysqli_thread_id($link); 36 if (!isset($running_threads[$thread_id])) 59 if (!isset($running_threads2[$thread_id]))
|
H A D | bug34810.phpt | 98 ["thread_id"]=>
|
H A D | mysqli_insert_id_variation.phpt | 48 /*$link->kill($link->thread_id);
|
H A D | mysqli_class_mysqli_properties_no_conn.phpt | 144 $mysqli->thread_id;
|
H A D | fake_server.inc | 191 $packet->thread_id = "03000000";
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 317 DBG_INF_FMT("conn=%" PRIu64, conn->thread_id); in MYSQLND_METHOD_PRIVATE() 821 DBG_INF_FMT("conn=%" PRIu64, conn->thread_id); 929 DBG_INF_FMT("conn=%" PRIu64, conn->thread_id); 947 DBG_INF_FMT("conn=%" PRIu64, conn->thread_id); 971 DBG_INF_FMT("conn=%" PRIu64, conn->thread_id); 985 DBG_INF_FMT("conn=%" PRIu64, conn->thread_id); 1255 return conn->thread_id; 1298 DBG_INF_FMT("conn=%" PRIu64 "", conn->thread_id); 1567 DBG_INF_FMT("conn=%" PRIu64, conn->thread_id); 1936 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 | 613 conn->thread_id = greet_packet.thread_id; in MYSQLND_METHOD()
|
H A D | mysqlnd_wireprotocol.c | 393 packet->thread_id = uint4korr(p); in php_mysqlnd_greet_read() 486 packet->protocol_version, packet->server_version, packet->thread_id); in php_mysqlnd_greet_read()
|
H A D | mysqlnd_structs.h | 898 uint64_t thread_id; member
|
/php-src/Zend/ |
H A D | zend_call_stack.c | 554 thread_id id; in zend_call_stack_get_haiku()
|
H A D | zend.c | 872 static void zend_new_thread_end_handler(THREAD_T thread_id) /* {{{ */ in zend_new_thread_end_handler() argument
|
/php-src/ext/mysqli/ |
H A D | mysqli.stub.php | 714 public int $thread_id; variable in mysqli
|