summaryrefslogtreecommitdiff
path: root/sapi/embed/php_embed.h
Commit message (Collapse)AuthorAgeFilesLines
* get rid of TSRMLS_* in the embed SAPIAnatol Belski2014-12-171-20/+5
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-2/+2
|
* reworked the patch, less new stuff but workyAnatol Belski2014-09-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* native tls initial patchkrakjoe2014-09-201-3/+3
|
* s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* - Updated fix for bug #48911 (embed sapi misses SAPI_API)Garrett Serack2009-07-301-3/+9
| | | | #- Windows didn't need SAPI_API
* - Fixed bug #48911 (embed sapi misses SAPI_API)Jani Taskinen2009-07-281-3/+3
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* MFH(r-1.7) Silence compiler warning: unused variableSara Golemon2005-12-291-3/+9
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-2/+2
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Expose php_embed_module struct (and make Wez happy).Edin Kadribasic2003-01-281-0/+1
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Follow Yasuo's suggestion and build sapi program's under the sapi-specificSascha Schumann2002-09-291-0/+60
directory. Move sapi-specific makefile fragments to their respective directory. Create an embed sapi module which resides in its own dir now.