apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luke Kenneth Casson Leighton <l...@samba-tng.org>
Subject Re: cvs commit: apr/threadproc/unix thread.c
Date Thu, 07 Jun 2001 14:13:08 GMT
> > As for locking, well the logical level for locking to be implemented is in
> > the sms module.  Look at the standard module. malloc should be thread safe
> > so no locking should be required, hence we don't have any.  In a tracking
> > system we can't guarantee that so we lock.
> I don't really have a problem with the locking end of things, per se...
> there will probably be some SMS's that need to lock, so we might as well
> give them a convenient means to do so.  I think.  I haven't really looked
> into this, though.

i've been investigating the design: a lock global and lock region (and
unlocking equivs) will be needed, even if the sms implementor
decides to implement the lock region as a global lock with ref-counting
or something stupid.


View raw message