[Asterisk-Dev] Is the ChanIsAvail command thread safe?

hugolivude hugolivude at gmail.com
Tue Sep 13 08:01:16 MST 2005


Curious whether the ChanIsAvail command is thread safe. By that I mean, if I 
use ChanIsAvail to determine which channel to use, can I be sure that it 
will still be available when I go to Dial it on the next line? It occurs to 
me that there's a possibility the channel could get used by a competing 
thread AFTER my thread has determined it is available and BEFORE my thread 
gets a chance to Dial.

Thanks,
Hugh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20050913/3f08c369/attachment.htm


More information about the asterisk-dev mailing list