Home
last modified time | relevance | path

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

12

/PHP-5.5/TSRM/
H A DTSRM.c28 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 DTSRM.h85 # 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.5/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) {
91 $thread_id = mysqli_thread_id($link);
92 $links[$thread_id]['processed'] = true;
104 $saved_errors[$thread_id] = mysqli_errno($link);
105 printf("[003] '%s' caused %d\n", $links[$thread_id]['query'], mysqli_errno($link));
113 foreach ($links as $thread_id => $link) {
114 if (isset($saved_errors[$thread_id]) &&
115 $saved_errors[$thread_id] != mysqli_errno($link['link'])) {
117 $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),
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 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);
135 $thread_id = mysqli_thread_id($link);
136 mysqli_kill(get_connection(), $thread_id);
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_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_class_mysqli_interface.phpt117 "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 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_kill.phpt28 if (!$thread_id = mysqli_thread_id($link))
31 $tmp = mysqli_kill($link, $thread_id);
132 [%u|b%"thread_id"]=>
H A Dbug34810.phpt101 [%u|b%"thread_id"]=>
141 [%u|b%"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 Dmysqli_insert_id_variation.phpt47 /*$link->kill($link->thread_id);
H A Dmysqli_real_connect.phpt214 [%u|b%"thread_id"]=>
H A Dmysqli_class_mysqli_reflection.phpt1314 Inspecting property 'thread_id'
1346 Default property 'thread_id'
/PHP-5.5/sapi/caudium/
H A Dcaudium.c585 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.5/ext/mysql/tests/
H A Dmysql_pconn_disable.phpt27 $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 Dmysql_pconn_reuse.phpt38 $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 Dmysql_pconn_kill.phpt29 $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.5/ext/mysqlnd/
H A Dmysqlnd.c187 DBG_INF_FMT("conn=%llu", conn->thread_id); in MYSQLND_METHOD_PRIVATE()
805 conn->thread_id = greet_packet->thread_id; in MYSQLND_METHOD()
1224 DBG_INF_FMT("conn=%llu", conn->thread_id);
1620 DBG_INF_FMT("conn=%llu", conn->thread_id);
1643 DBG_INF_FMT("conn=%llu", conn->thread_id);
1699 DBG_INF_FMT("conn=%llu", conn->thread_id);
1726 DBG_INF_FMT("conn=%llu", conn->thread_id);
1771 if (pid != conn->thread_id) {
2098 return conn->thread_id;
2144 DBG_INF_FMT("conn=%llu", conn->thread_id);
[all …]
H A Dmysqlnd_wireprotocol.h72 uint32_t thread_id; member
/PHP-5.5/Zend/
H A Dzend_alloc.c371 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()

Completed in 159 milliseconds

12