apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: [PATCH] apr_lock.h update to remove/fix CROSS_PROCESS vs LOCKALL
Date Tue, 03 Jul 2001 11:05:19 GMT
Hmmm...

A non-threaded app needs to serialize access to a resource across
multiple processes.

This non-threaded app builds/runs against a threaded APR.

Before this patch:

  we only need one lock on many platforms (app specifies
  APR_CROSS_PROCESS)

After this patch:

  we need two locks on many platforms (cross process and intra
  process)

Isn't this going to bite prefork?

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message