[asterisk-dev] Synchronized queue between threads

Tim Ringenbach tim.ringenbach at gmail.com
Sat Nov 11 16:24:46 MST 2006


On 11/8/06, Corrado Santoro <csanto at diit.unict.it> 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.
>

I think It would be cool if asterisk had a built in api similar to glib's
GAsyncQueue.
 But I don't know how the developer's feel.

--Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20061111/c774229c/attachment.htm


More information about the asterisk-dev mailing list