You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2015/03/02 18:47:43 UTC
svn commit: r1663375 - /httpd/httpd/trunk/include/httpd.h
Author: covener
Date: Mon Mar 2 17:47:43 2015
New Revision: 1663375
URL: http://svn.apache.org/r1663375
Log:
PR54613: protect the invoke_mtx with #if APR_HAS_THREADS.
No MMN bump, httpd.h cannot be compiled today without APR_HAS_THREADS. With
APR_HAS_THREADS there is no structure layout change.
Modified:
httpd/httpd/trunk/include/httpd.h
Modified: httpd/httpd/trunk/include/httpd.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/httpd.h?rev=1663375&r1=1663374&r2=1663375&view=diff
==============================================================================
--- httpd/httpd/trunk/include/httpd.h (original)
+++ httpd/httpd/trunk/include/httpd.h Mon Mar 2 17:47:43 2015
@@ -1026,7 +1026,9 @@ struct request_rec {
/** Mutex protect callbacks registered with ap_mpm_register_timed_callback
* from being run before the original handler finishes running
*/
+#if APR_HAS_THREADS
apr_thread_mutex_t *invoke_mtx;
+#endif
/** A struct containing the components of URI */
apr_uri_t parsed_uri;