rfc:tls

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
rfc:tls [2008/08/26 19:04] – . lbarnaudrfc:tls [2010/11/02 15:20] – patches lbarnaud
Line 5: Line 5:
   * Status: Under Discussion   * Status: Under Discussion
   * First Published at: http://marc.info/?l=php-internals&m=121893972814818&w=2   * First Published at: http://marc.info/?l=php-internals&m=121893972814818&w=2
-  * Initial patch: http://arnaud.lb.s3.amazonaws.com/__thread-tls.patch +  * Initial patch: http://gist.github.com/659731 
-  * Current patch: http://arnaud.lb.s3.amazonaws.com/__thread-tls-2.patch+  * Current patch: http://gist.github.com/659724
  
 Currently ZTS builds are slower than non-ZTS builds. This RFC is about avoiding some of the major overhead of ZTS builds by using native thread local storage. Currently ZTS builds are slower than non-ZTS builds. This RFC is about avoiding some of the major overhead of ZTS builds by using native thread local storage.
Line 165: Line 165:
 As the patch avoids passing tsrm_ls across function calls, #ifdef ZTS is not anymore relevant to check that. As the patch avoids passing tsrm_ls across function calls, #ifdef ZTS is not anymore relevant to check that.
 The new PASS_TSRMLS macro is now defined when tsrm_ls needs to be passed across function calls. For instance this is needed by ZEND_ATTRIBUTE_FORMAT and some other places. The new PASS_TSRMLS macro is now defined when tsrm_ls needs to be passed across function calls. For instance this is needed by ZEND_ATTRIBUTE_FORMAT and some other places.
- 
rfc/tls.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1