cond_next is equiv to cond_yield(1000) or 1 ms
actual time will vary depending on OS and HW
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 ?
Thanks
Regards
Alex To
_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org