mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
![]() The tsrm_startup() function is currently always called with expected_threads = 1. This means that the hashtable used in the TSRM will only contain a single bucket, and all thread resources will therefore be in the same linked list. So it's not really a hashtable right now, even though it's supposed to be. This patch adds a function tsrm_startup_ex() which takes the expected thread count as an argument. It also keeps the tsrm_startup() function so there are no BC breaks. In the Apache SAPI we query how many threads we have, and pass that to the tsrm_startup_ex() function. |
||
---|---|---|
.. | ||
apache_config.c | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
mod_php.c | ||
php.sym | ||
php_apache.h | ||
php_functions.c | ||
php_functions.stub.php | ||
php_functions_arginfo.h | ||
sapi_apache2.c |