PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- *) event: based on the commit log ("use a subpool of pchild since skiplist
- allocations will happen across threads and are only protected from
- other skiplist operations.", per sf's review comments), it sounds like this
- should be backported.
- trunk patch: http://svn.apache.org/r1588806
- 2.4.x patch: http://home.apache.org/~jailletc36/backport_1588806.patch
- +1: ylavic, jim, rpluem
-
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
apr_threadattr_t *thread_attr;
apr_thread_t *start_thread_id;
int i;
+ apr_pool_t *pskip;
/* for benefit of any hooks that run as this child initializes */
retained->mpm->mpm_state = AP_MPMQ_STARTING;
apr_thread_mutex_create(&g_timer_skiplist_mtx, APR_THREAD_MUTEX_DEFAULT, pchild);
APR_RING_INIT(&timer_free_ring, timer_event_t, link);
- apr_skiplist_init(&timer_skiplist, pchild);
+ apr_pool_create(&pskip, pchild);
+ apr_skiplist_init(&timer_skiplist, pskip);
apr_skiplist_set_compare(timer_skiplist, timer_comp, timer_comp);
/* Just use the standard apr_setup_signal_thread to block all signals