apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: cvs commit: apr STATUS
Date Sun, 10 Feb 2002 19:10:04 GMT
On Mon, Feb 11, 2002 at 12:44:17AM +1000, Brian Havard wrote:
 
> Ok, so the cross-process lock is essentially a performance optimization for
> when you're running single threaded processes on a multi-threading capable
> system that doesn't have an efficient global lock mechanism.
> 
> If that's the case then implementing apr_proc_mutex using a global lock
> would be ok on platforms that DO have an efficient native mechanism with
> that behaviour. By using apr_proc_mutex you're saying "I don't require
> inter-thread locking but don't care if I get it".

Yes, that is it exactly. :)

-aaron

Mime
View raw message