[Freeswitch-dev] Question about switch_cond_next()

Alex To tonhudung at gmail.com
Thu Jan 28 06:10:03 PST 2010

Hi, would someone clarify this for me please


Is it right to say that switch_cond_next() does only one thing which is to
put the current thread to sleep for a period of time (1 second) ?


Is it equivalent to, let's say, Thread.Sleep(xxx); or it also does something
else besides putting the current thead to sleep ? 


Is switch_cond_yield the same as switch_cond_next, except that
switch_cond_yield accepts parameter as the input interval ?






Alex To

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100128/1ff19294/attachment.html 

More information about the FreeSWITCH-dev mailing list