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

Reply via email to