[asterisk-dev] [Code Review] unload/load/reload support for chan_skinny

Russell Bryant russell at digium.com
Fri Jan 30 08:30:39 CST 2009


On Jan 29, 2009, at 9:40 PM, Dan Austin wrote:
>>   2) Keep in mind that it is possible for 2 reloads to be issued at  
>> the same
>>    time from different threads.
>
>        Will a simple test to see if a reload is in process be  
> acceptable, or
> should I be looking at additional locking?


Yeah, a simple test is fine.  You just need something to make sure  
that you don't try to process 2 reloads at the same time.

--
Russell Bryant
Digium, Inc. | Senior Software Engineer, Open Source Team Lead
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org







More information about the asterisk-dev mailing list