Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | get rid of TSRMLS_* in the embed SAPI | Anatol Belski | 2014-12-17 | 1 | -20/+5 |
| | |||||
* | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 1 | -2/+2 |
| | |||||
* | reworked the patch, less new stuff but worky | Anatol Belski | 2014-09-25 | 1 | -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 patch | krakjoe | 2014-09-20 | 1 | -3/+3 |
| | |||||
* | s/PHP 5/PHP 7/ | Johannes Schlüter | 2014-09-19 | 1 | -1/+1 |
| | |||||
* | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | |||||
* | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | |||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | |||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | - Updated fix for bug #48911 (embed sapi misses SAPI_API) | Garrett Serack | 2009-07-30 | 1 | -3/+9 |
| | | | | #- Windows didn't need SAPI_API | ||||
* | - Fixed bug #48911 (embed sapi misses SAPI_API) | Jani Taskinen | 2009-07-28 | 1 | -3/+3 |
| | |||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | bump year and license version | foobar | 2006-01-01 | 1 | -3/+3 |
| | |||||
* | MFH(r-1.7) Silence compiler warning: unused variable | Sara Golemon | 2005-12-29 | 1 | -3/+9 |
| | |||||
* | - Bumber up year | foobar | 2005-08-03 | 1 | -1/+1 |
| | |||||
* | - Happy new year and PHP 5 for rest of the files too.. | foobar | 2004-01-08 | 1 | -2/+2 |
| | | | | | # Should the LICENSE and Zend/LICENSE dates be updated too? | ||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -3/+3 |
| | |||||
* | Expose php_embed_module struct (and make Wez happy). | Edin Kadribasic | 2003-01-28 | 1 | -0/+1 |
| | |||||
* | Bump year. | Sebastian Bergmann | 2002-12-31 | 1 | -1/+1 |
| | |||||
* | Follow Yasuo's suggestion and build sapi program's under the sapi-specific | Sascha Schumann | 2002-09-29 | 1 | -0/+60 |
directory. Move sapi-specific makefile fragments to their respective directory. Create an embed sapi module which resides in its own dir now. |