apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Moore-Oliva <j...@chatgris.com>
Subject Re: [PATCH] Thread Locks and SMP boxes
Date Wed, 30 Jul 2003 20:13:03 GMT
I do not know how portable it is, I only program for linux..

However, as far as I understand it it is a datatype that guarantees all 
actions are atomic and will not be corrupted by multiple threads accessing 
the same data.

Hope it's some help.

Josh.

On July 30, 2003 04:06 pm, you wrote:
> What's that? Is it portable?
>
> -aaron
>
> On Wednesday, July 30, 2003, at 01:01  PM, Joshua Moore-Oliva wrote:
> > I may eb way out of the ball park here but as far as the line
> >
> > mutex->owner_ref++
> >
> > is concerned..  couldn't owner be a sig_atomic_t?


Mime
View raw message