On 26 November 2014 at 12:03, Taras Kondratiuk <[email protected]> wrote:
> Signed-off-by: Taras Kondratiuk <[email protected]> > --- > platform/linux-generic/include/api/odp_queue.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/platform/linux-generic/include/api/odp_queue.h > b/platform/linux-generic/include/api/odp_queue.h > index b8ac4bb..3321950 100644 > --- a/platform/linux-generic/include/api/odp_queue.h > +++ b/platform/linux-generic/include/api/odp_queue.h > @@ -124,6 +124,15 @@ odp_queue_t odp_queue_create(const char *name, > odp_queue_type_t type, > odp_queue_param_t *param); > > /** > + * Destroy ODP queue > + * > Does it need the queue to be drained, will it drain the queue, will if free buffers if it drains the queue. does it wait if the queue is full Are there any @warnings about its behaviour? > + * @param queue Queue handle > in or out ? > + * > + * @return 0 if successful > what cases cause a failure, what is returned value in those case? > + */ > +int odp_queue_destroy(odp_queue_t queue); > + > +/** > * Find a queue by name > * > * @param name Queue name > -- > 1.7.9.5 > > > _______________________________________________ > lng-odp mailing list > [email protected] > http://lists.linaro.org/mailman/listinfo/lng-odp > -- *Mike Holmes* Linaro Sr Technical Manager LNG - ODP
_______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
