On Tue, 2006-09-19 at 10:39 -0400, Garrett Rooney wrote:

> I would avoid locking when pool isn't NULL,

Not exactly sure what you mean. The patch does this in all places where
mutex is supposed to get locked:

---------------------------------------
+#if APR_HAS_THREADS
+    if (!pool) {
+        apr_thread_mutex_lock(dso_global_mutex);
+    }
+#endif /* APR_HAS_THREADS */
---------------------------------------

So, when pool isn't NULL, there is no locking. Or were you referring to
something else?

-- 
Bojan

Reply via email to