[asterisk-dev] Synchronized queue between threads

Kevin P. Fleming kpfleming at digium.com
Thu Nov 9 12:34:09 MST 2006


Corrado Santoro wrote:

> I'm writing an application that, a part from the main thread (say A),
> has another thread (say B). I have to perform a communication of
> events(+data) from thread B to thread A, and I'm going to do this with a
> classical synchronized circular queue. Thus I'm wondering if Asterisk
> API already possesses some functions to implement such a synchronized
> circular queue or if instead I have to do it by hand.

No, there is nothing presently in the API to do that.

Can you please try not to post messages to mailing lists using a 20+
line long signature? Your signature was three times as long (at least)
as your message's content.


More information about the asterisk-dev mailing list