[asterisk-users] [asterisk-dev] Locking, coding guidelines addition

Russell Bryant russell at digium.com
Sat Jul 5 22:11:10 CDT 2008


On Jul 5, 2008, at 7:59 PM, Grey Man wrote:
> From what I can gather the suggestion from the FS approach is that
> each Asterisk channel should be handled after by it's own unique
> thread and save the need for any locking on the channel data
> structures in the first place.


Having a thread per channel _absolutely does NOT_ remove the need for  
locking to synchronize access to channel data structures.

--
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.







More information about the asterisk-users mailing list