[reSIProcate] [DialogUsagManager] InMemoryRegistrationDatabase usage.
palladin
p-aladin at yandex.ru
Tue Feb 3 09:11:14 CST 2015
Dear resip devels,
resiprocate 1.9.2
I have got a crash during InMemoryRegistrationDatabase usage. Sometimes
I need to modify ContactInstanceRecord from separate thread. As I can
notice from InMemoryRegistrationDatabase::updateContact sources
ContactList is fetched and mutex is unlocked. I suppose at the same time
my thread tries to modify the same ContactList, because it is not any
more protected from simultaneous access. As result crash.
Could you please consider provided patch? If it is not fine - please
advice how can I safely update ContactList?
Sincerely Taras.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reg_cache.patch
Type: text/x-patch
Size: 3060 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20150203/a30cf0b8/attachment.bin>
More information about the resiprocate-devel
mailing list