/PHP-5.6/TSRM/ |
H A D | TSRM.c | 28 THREAD_T thread_id; member 278 (*thread_resources_ptr)->thread_id = thread_id; in allocate_new_resource() 310 THREAD_T thread_id; in ts_resource_ex() local 339 thread_id = tsrm_thread_id(); in ts_resource_ex() 341 thread_id = *th_id; in ts_resource_ex() 355 if (thread_resources->thread_id == thread_id) { in ts_resource_ex() 426 THREAD_T thread_id; in tsrm_new_interpreter_context() local 428 thread_id = tsrm_thread_id(); in tsrm_new_interpreter_context() 446 THREAD_T thread_id = tsrm_thread_id(); in ts_free_thread() local 455 if (thread_resources->thread_id == thread_id) { in ts_free_thread() [all …]
|
H A D | TSRM.h | 85 # define THREAD_T thread_id 132 typedef void (*tsrm_thread_begin_func_t)(THREAD_T thread_id, void ***tsrm_ls); 133 typedef void (*tsrm_thread_end_func_t)(THREAD_T thread_id, void ***tsrm_ls);
|
/PHP-5.6/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 = 'NULL' 185 thread_id = 'NULL' 203 mysqli->thread_id = ''/NULL (''/NULL) 237 thread_id = 'NULL' 258 thread_id = 'NULL' 276 mysqli->thread_id = ''/NULL (''/NULL)
|
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_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_class_mysqli_interface.phpt | 117 "thread_id" => true, 227 assert(mysqli_thread_id($link) > $mysqli->thread_id); 228 assert(gettype($mysqli->thread_id) == gettype(mysqli_thread_id($link))); 229 printf("mysqli->thread_id = '%s'/%s ('%s'/%s)\n", 230 $mysqli->thread_id, gettype($mysqli->thread_id), 302 mysqli->thread_id = '%d'/integer ('%d'/integer)
|
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_kill.phpt | 28 if (!$thread_id = mysqli_thread_id($link)) 31 $tmp = mysqli_kill($link, $thread_id); 132 [%u|b%"thread_id"]=>
|
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 [%u|b%"thread_id"]=> 141 [%u|b%"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 | 214 [%u|b%"thread_id"]=>
|
H A D | mysqli_class_mysqli_reflection.phpt | 1321 Inspecting property 'thread_id' 1353 Default property 'thread_id'
|
/PHP-5.6/sapi/caudium/ |
H A D | caudium.c | 585 thread_id = low_clone(thread_id_prog); in php_caudium_module_main() 586 state = OBJ2THREAD(thread_id); in php_caudium_module_main() 589 call_c_initializers(thread_id); in php_caudium_module_main() 590 OBJ2THREAD(thread_id)->id=th_self(); in php_caudium_module_main() 592 thread_table_insert(thread_id); in php_caudium_module_main() 596 state = OBJ2THREAD(Pike_interpreter.thread_id); in php_caudium_module_main() 673 thread_table_delete(thread_id); in php_caudium_module_main() 674 free_object(thread_id); in php_caudium_module_main() 675 thread_id=NULL; in php_caudium_module_main() 680 free_object(Pike_interpreter.thread_id); in php_caudium_module_main() [all …]
|
/PHP-5.6/ext/mysql/tests/ |
H A D | mysql_pconn_disable.phpt | 27 $thread_id = mysql_thread_id($plink); 33 if (mysql_thread_id($plink) != $thread_id) 36 $thread_id = mysql_thread_id($plink); 42 if (mysql_thread_id($plink) == $thread_id)
|
H A D | mysql_pconn_reuse.phpt | 38 $thread_id = mysql_thread_id($plink); 44 if (mysql_thread_id($plink) != $thread_id) 47 $thread_id = mysql_thread_id($plink); 53 if (mysql_thread_id($plink) == $thread_id)
|
H A D | mysql_pconn_kill.phpt | 29 $thread_id = mysql_thread_id($link); 39 if (!isset($processlist[$thread_id])) 62 if (!isset($processlist2[$thread_id])) 85 if (!mysql_query(sprintf("KILL %d", $thread_id), $link2))
|
/PHP-5.6/ext/mysqlnd/ |
H A D | mysqlnd.c | 187 DBG_INF_FMT("conn=%llu", conn->thread_id); in MYSQLND_METHOD_PRIVATE() 832 conn->thread_id = greet_packet->thread_id; in MYSQLND_METHOD() 1252 DBG_INF_FMT("conn=%llu", conn->thread_id); 1647 DBG_INF_FMT("conn=%llu", conn->thread_id); 1670 DBG_INF_FMT("conn=%llu", conn->thread_id); 1726 DBG_INF_FMT("conn=%llu", conn->thread_id); 1753 DBG_INF_FMT("conn=%llu", conn->thread_id); 1798 if (pid != conn->thread_id) { 2128 return conn->thread_id; 2174 DBG_INF_FMT("conn=%llu", conn->thread_id); [all …]
|
H A D | mysqlnd_wireprotocol.h | 72 uint32_t thread_id; member
|
/PHP-5.6/Zend/ |
H A D | zend_alloc.c | 371 THREAD_T thread_id; member 384 THREAD_T thread_id; member 396 THREAD_T thread_id; member 555 ((zend_mm_block*)(block))->thread_id = tsrm_thread_id() 556 # define ZEND_MM_BAD_THREAD_ID(block) ((block)->thread_id != tsrm_thread_id()) 1376 …valid pointer: ((thread_id=0x%0.8X) != (expected=0x%0.8X))\n", (long)p->thread_id, (long)tsrm_thre… in zend_mm_check_ptr()
|