rfuchs left a comment (kamailio/kamailio#4809)

Since AFAICT the only thing writing to the permissions and the dispatcher 
tables is the reload function, which always constructs a brand new table and 
then switches them out, I would suggest to add a reference count to the tables 
in question. That would allow arbitrary concurrent read access while also 
making simultaneous reloads safe, with minimal added overhead. It would also 
make the current (unsafe) double-buffering and rate-limiting approach obsolete. 
Willing to implement if acceptable.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4809#issuecomment-4914952910
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4809/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to