[Asterisk-Users] Is "ChanIsAvail" thread safe?

Carlos Antunes cmantunes at gmail.com
Mon Sep 12 21:34:58 MST 2005


This is the kind of question whose answer the good people at asterisk-dev 
are probably more knowledgeable about...

On 9/12/05, hugolivude <hugolivude at gmail.com> wrote:
> 
> 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
> 
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com>--
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 


-- 
"We hold [...] that all men are created equal; that they are
endowed [...] with certain inalienable rights; that among
these are life, liberty, and the pursuit of happiness"
-- Thomas Jefferson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050912/88e91934/attachment.htm


More information about the asterisk-users mailing list