Steve,
Thanks. i will start working on moving towards CPG API usage.
the current code which has been working with us needs to be maintained for
sometime. for that i am working on modifying it.
for time being it would be helpful if following two are clarified.
1) purpose of handle db: i am assuming hdb_handle_create() /
handle_destroy() apis will allocate/ free memory of size (2nd param of
create() api). my library is very simple and links into an app. i can
maintain the handles in handle_t varaibles.. why handle database should
be used? is it to maintain large runtime structures and reference them
with these handles? i dont want any memory allocation in hdb handle
database for my data. and my library is doesnt have to support multi
threaded application
2) if a service engine writes a structure twice in an ipc dispatch
buffer...(using ipc_dispatch_send() ) ....and inside lib when i read
using coroipcc_dispatch_get()..will both messages be be read into void**
param? ..i didnt get the pinning concept from documentation
Thanks
Ramesh
On Wed, Apr 6, 2011 at 7:54 PM, Steven Dake <[email protected]> wrote:
> On 04/06/2011 05:17 AM, Ramesh Random wrote:
> > hi,
> > i just started writing library and service engine.as
> > <http://engine.as> a first time user would like to get clarified on two
> > things.
> >
> > 1) purpose of handle db: i am assuming hdb_handle_create() /
> > handle_destroy() apis will allocate/ free memory of size (2nd param of
> > create() api). my library is very simple and links into an app. i can
> > maintain the handles in handle_t varaibles.. why handle database should
> > be used? is it to maintain large runtime structures and reference them
> > with these handles? i dont want any memory allocation in hdb handle
> > database for my data.
> >
> > 2) if a service engine writes a structure twice in an ipc dispatch
> > buffer...(using ipc_dispatch_send() ) ....and inside lib when i read
> > using coroipcc_dispatch_get()..will both messages be be read into void**
> > param? ..i didnt get the pinning concept from documentation
> >
> >
> > Thanks
> > Ramesh
> >
> >
>
> Ramesh,
>
> I recommend just using the CPG APIs. We are deprecating the ABI for
> external service engines in 2.0 and likely removing in 3.0.
>
> Regards
> -steve
>
> >
> > _______________________________________________
> > Openais mailing list
> > [email protected]
> > https://lists.linux-foundation.org/mailman/listinfo/openais
>
>
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais