[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HowTo for queues
From: |
Leon Pollak |
Subject: |
Re: HowTo for queues |
Date: |
Fri, 4 Jun 2010 03:38:00 +0300 |
User-agent: |
KMail/1.13.3 (Linux/2.6.33.4-95.fc13.x86_64; KDE/4.4.3; x86_64; ; ) |
Thank you David.
I shall be really glad if you will be able to give me the list of classes to
be used for the following simple task:
Two threads A and B.
A receives data from somewhere into buffers (of the same size) polled from
buffer pool (which classes?).
Then A sends these buffers to B (which classes).
B receives buffers, process them and returns to the pool.
Just, please, name the classes, i will try to understand how to use them...
Thanks again.
On Thursday June 3 2010, David Sugar wrote:
> The queue class was written because there are some older Bayonne drivers
> that would likely make use of it when the rest of Bayonne is ported to
> ucommon, and it is also based on some stuff also used in the original
> Common C++. However, those drivers (in particular, Dialogic and Pika,
> which used an event queue to buffer realtime Dialogic events to Bayonne
> ones) had not been ported to the newer Bayonne codebase as yet. So it
> is quite possible there is nobody currently using the class. I think if
> this is true we should at least make sure there is some unit test code
> coverage for queue.
>
> On 06/03/2010 10:29 AM, Leon Pollak wrote:
> > Hello.
> >
> > I am a newbie here - sorry for stupid questions (but I am definitely not
> > a newbie in RT programming - 16 years with RTEMS, pSOS and similar). I
> > also hope that this is the correct place for such questions.
> >
> > I am trying to understand uCommon queues with the help of doxygen
> > documentation and examples (bayonne, ccaudio, ccscript, sipswitch) source
> > code.
> >
> > Unfortunately, I was not able to find ANY usage of the ucc::queue in
> > these projects!
> >
> > Does this mean that I do not know to search or queues are not used for
> > some reason?
> >
> > A lot of thanks ahead.
--
Dr.Leon M.Pollak
Director
PLR Information Systems Ltd.
Tel.:+972-98657670 | POB 8130, H'Aomanut 9,
Fax.:+972-98657621 | Poleg Industrial Zone,
Mob.:+972-544739246 | Netanya, 42160, Israel.
- HowTo for queues, Leon Pollak, 2010/06/03
- Re: HowTo for queues, David Sugar, 2010/06/03
- Re: HowTo for queues,
Leon Pollak <=
- Re: HowTo for queues, David Sugar, 2010/06/05
- Re: HowTo for queues, Leon Pollak, 2010/06/05
- Re: HowTo for queues - open issues resolved in 3.0.1, David Sugar, 2010/06/06
- Re: HowTo for queues - open issues resolved in 3.0.1, Leon Pollak, 2010/06/08
- Please, discard my previous message, Leon Pollak, 2010/06/08