php-src/win32/build
Anatol Belski d11734b4b0 reworked the patch, less new stuff but worky
TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current
patch suffers from bugs which are hard to find, but prevent it to
be worky with apache. What is done here is mainly uses the idea
from the RFC patch, but

- __thread variable is removed
- offset math and declarations are removed
- extra macros and definitions are removed

What is done merely is

- use an inline function to access the tsrm cache. The function uses
  the portable tsrm_tls_get macro which is cheap
- all the TSRM_* macros are set to placebo. Thus this opens the way
  remove them later

Except that, the logic is old. TSRMLS_FETCH will have to be done once
per thread, then tsrm_get_ls_cache() can be used. Things seeming to be
worky are cli, cli server and apache. I also tried to enable bz2
shared and it has worked out of the box. The change is yet minimal
diffing to the current master bus is a worky start, IMHO. Though will
have to recheck the other previously done SAPIs - embed and cgi.

The offsets can be added to the tsrm_resource_type struct, then
it'll not be needed to declare them in the userspace. Even the
"done" member type can be changed to int16 or smaller, then adding
the offset as int16 will not change the struct size. As well on the
todo might be removing the hashed storage, thread_id != thread_id and
linked list logic in favour of the explicit TLS operations.
2014-09-25 18:48:27 +02:00
..
block.template.dsw Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
buildconf.js s/PHP 5/PHP 7/ 2014-09-19 18:33:14 +02:00
config.w32 reworked the patch, less new stuff but worky 2014-09-25 18:48:27 +02:00
config.w32.h.in switch to using mbrlen with VS 2014-09-13 13:52:10 +02:00
config.w32.phpize.in Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
configure.bat - c/p error. 2008-12-10 09:49:59 +00:00
configure.tail - phpize support merge from 5.3 2010-12-13 20:55:13 +00:00
confutils.js s/PHP 5/PHP 7/ 2014-09-19 18:33:14 +02:00
deplister.c s/PHP 5/PHP 7/ 2014-09-19 18:33:14 +02:00
DSP.README Update README to reflect current state of play 2008-07-16 22:30:12 +00:00
libs_version.txt Merge branch 'PHP-5.5' into PHP-5.6 2014-07-01 10:34:55 +02:00
Makefile Merge branch 'master' into issue-67910 2014-09-20 10:09:21 +02:00
Makefile.phpize implemented usage of the non core ext deps in phpize mode 2014-07-17 21:47:15 +02:00
mkdist.php Merge branch 'PHP-5.4' into PHP-5.5 2014-07-02 11:35:42 +02:00
php.ico Search for pecl extensions under php-src/pecl as a convenience for 2003-12-04 01:37:52 +00:00
phpize.bat - missing 2011-02-10 21:42:13 +00:00
phpize.js.in s/PHP 5/PHP 7/ 2014-09-19 18:33:14 +02:00
projectgen.js Remove static allocator 2014-09-22 23:45:13 +02:00
registersyslog.php MFH: Silent dl() if it fails 2009-05-27 01:38:13 +00:00
template.dsp revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
template.dsw Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
template.rc Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
wsyslog.mc Fix bug #8314: sane syslog output to the WinNT event log. 2004-07-31 23:59:46 +00:00