FAQ
The STRDUP macro in NSAPI ends up invoking pthread_get_specific each
time. Since the PHP NSAPI plugin has access to the pool member of the
Session variable, it can use pool_strdup instead of STRDUP.

Please review the attached patch that uses pool_strdup instead of
STRDUP thereby reducing the number of times pthread_getspecific is
invoked when the PHP engine is executing within Sun Web Server.


thanks,
arvi

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedOct 30, '09 at 11:52a
activeOct 30, '09 at 11:52a
posts1
users1
websitephp.net

1 user in discussion

Arvind Srinivasan: 1 post

People

Translate

site design / logo © 2022 Grokbase