[asterisk-dev] Seeking built-in channel waiter function

Yaroslav Panych panych.y at gmail.com
Thu Oct 6 08:27:24 CDT 2011


Hello


Is there available in asterisk core and ready made function which does
next work:
As arguments it receives struct ast_channel* and thread
synchronisation object(semaphore, mutex, cond, etc).
This function waits for next frame in channel or when given sync
object becomes signalled and then returns.

I have found function ast_waitfor and ast_faitfor_nandfds but they
does accept only file descriptors.



regards, Yaroslav



More information about the asterisk-dev mailing list