/[Apache-SVN]
ViewVC logotype

Revision 1902728


Jump to revision: Previous Next
Author: ylavic
Date: Fri Jul 15 09:24:01 2022 UTC (23 months, 1 week ago)
Changed paths: 2
Log Message:
core: Apply ap_max_mem_free to created threads' pool allocator.

Since APR does not set the threshold above which the allocator of the thread
starts returning its memory to the system, force ap_max_mem_free from
ap_thread_create(), ap_thread_main_create() and ap_thread_current_create().

* include/httpd.h:
  Provide our own ap_thread_create() in any case (but !APR_HAS_THREADS).
  Simplify #ifdef-ery.

* server/util.c(thread_start, ap_thread_main_create, ap_thread_current_create):
  Set ap_max_mem_free to the thread's pool allocator.
  Simplify #ifdef-ery.



Changed paths

Path Details
Directoryhttpd/httpd/trunk/include/httpd.h modified , text changed
Directoryhttpd/httpd/trunk/server/util.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26