History log of /PHP-7.2/TSRM/tsrm_win32.c (Results 26 – 50 of 135)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4
# 42249078 22-Sep-2015 Anatol Belski

fix stack overflow


# 5b58d851 22-Sep-2015 Anatol Belski

fix stack overflow


# d5bd999a 04-Oct-2015 Anatol Belski

don't leak handles


# 3331d870 04-Oct-2015 Anatol Belski

use correct function to close handles


# afe04911 22-Sep-2015 Anatol Belski

unmap correct handle


# faa50318 22-Sep-2015 Anatol Belski

nullify the memory chunk to avoid crashes when freeing resource


# 0e843a45 22-Sep-2015 Anatol Belski

check for NULL return


Revision tags: php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45
# 59d3529f 31-Aug-2015 Anatol Belski

cleanup an atavism

no DOS support here )


Revision tags: php-5.6.13RC1, php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43, php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2, php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1, php-5.6.8, php-5.5.24, php-5.4.40, php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39, php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS, php-5.6.6, php-5.5.22, php-5.4.38
# af3ca745 16-Feb-2015 Anatol Belski

made ZEND_TSRMLS_CACHE_* macros look like function calls

which also comply with the current semantics for such macros


Revision tags: POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1, php-5.5.21, php-5.6.5, php-5.4.37
# fc33f52d 15-Jan-2015 Xinchen Hui

bump year


# 0579e827 15-Jan-2015 Xinchen Hui

bump year


# 73c1be26 15-Jan-2015 Xinchen Hui

Bump year


Revision tags: php-5.5.21RC1, php-5.6.5RC1
# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


Revision tags: php-5.6.4RC1, php-5.5.20RC1
# e6ea376a 13-Nov-2014 Anatol Belski

avoid repeated strlen usage, remove unused vars


Revision tags: php-5.6.3, php-5.5.19, php-5.4.35
# 999d387b 10-Nov-2014 Anatol Belski

move these functions to the appropriate place

and include the necessary header


# 20f8f533 28-Oct-2014 Anatol Belski

fix datatype mismatch warns


Revision tags: php-5.6.3RC1, php-5.5.19RC1
# 8aeffdd7 15-Oct-2014 Anatol Belski

moved most of the core to use static tsrm ls cache pointer

plus apache2handler, cli and cgi


Revision tags: php-5.5.18, php-5.4.34
# 55c6737b 02-Oct-2014 Anatol Belski

remove misprint parentheses


Revision tags: php-5.5.18RC1, php-5.6.1
# d11734b4 25-Sep-2014 Anatol Belski

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

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.

show more ...


Revision tags: php-5.6.2
# 4db75dc8 22-Sep-2014 Anatol Belski

basic windows fix


# b3aebda9 20-Sep-2014 krakjoe

native tls initial patch


# d0cb7153 19-Sep-2014 Johannes Schlüter

s/PHP 5/PHP 7/


# d1131d42 19-Sep-2014 Anatol Belski

reverted some previous IS_ABSOLUTE_PATH related changes

It's fine with strlen usage now, only one call


Revision tags: php-5.4.33, php-5.5.17
# 90972355 14-Sep-2014 Anatol Belski

avoid repeated strlen usage


123456