Ian Holsman <[EMAIL PROTECTED]> writes:

> hi.
> I would really like to get atomic operations into the APR.

sounds reasonable...

> so that leaves the others, which I'm sure have somthing like this.
> the alternative for non-native atomic support is a mutex or
> specifcying a --disable-smp on the command line for configure which
> will disable the mutex on single CPU boxes.
> 
> what do you think guys??

I don't buy the --disable-smp argument.  The mutex (or the type of
serialization done by the CPU primitive) is also there to protect
against getting timesliced at an inopportune point in the update
sequence.  Otherwise another dispatchable unit can progress merrily
through the same update sequence and result in an inconsistent state
once the first dispatchable unit gets the CPU back and finishes the
sequence.

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to