[asterisk-dev] astdb-realtime locking (oej: branch oej/codename-appleraisin-trunk r176560 - /team/oej/codename-apple...)

Johansson Olle E oej at edvina.net
Tue Feb 17 14:56:48 CST 2009


17 feb 2009 kl. 20.33 skrev Russell Bryant:

> SVN commits to the Digium repositories wrote:
>> Author: oej
>> Date: Tue Feb 17 12:03:43 2009
>> New Revision: 176560
>
>> Russellb: Some questions from you inline
>
>> +/*! \todo Ask Russell (the locking master) if we do need to bother  
>> with the db_lock when using realtime,
>> +	since realtime has it's own locking. Is there a need to also  
>> protect this layer?
>> +	- Potential issues?
>> +	- Benefits from removing a locking layer?
>> +*/
>
> You do not need to hold the dblock at all when using realtime.  Its  
> only
> purpose is to protect access to the db1 version of astdb.  So, if  
> you're
> not using that as your database, then no locking in the astdb layer is
> required.

I kind of suspected that. Thanks for the quick feedback!

Now I don'¨t have to ask you and can safely remove that todo from my  
list of todo's ;-)
/O


More information about the asterisk-dev mailing list