On 11/8/06, <b class="gmail_sendername">Corrado Santoro</b> <<a href="mailto:csanto@diit.unict.it">csanto@diit.unict.it</a>> wrote:<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm writing an application that, a part from the main thread (say A),<br>has another thread (say B). I have to perform a communication of<br>events(+data) from thread B to thread A, and I'm going to do this with a<br>classical synchronized circular queue. Thus I'm wondering if Asterisk
<br>API already possesses some functions to implement such a synchronized<br>circular queue or if instead I have to do it by hand.<br></blockquote></div><br>I think It would be cool if asterisk had a built in api similar to glib's GAsyncQueue.
<br> But I don't know how the developer's feel.<br><br>--Tim<br>