On 11/12/2010 03:24 AM, Sampathkumar, Kishore wrote: > Hi, > > > > In the case of CPG, under what condition will the ref count in the > corresponding entry in the handle database (i.e., > handle_database->handles[handle].ref_count for a CPG process) be greater > than 1? > > > Kishore,
If there are multiple threads of execution, the reference count may increase past 1. In a non-threaded app, the reference count will at most be 1. The reference counting exists for threaded users of the library to prevent use after free scenarios. Regards -steve > What is the usage model that can make this possible? > > > > Regards, > > - Kishore > > > > _______________________________________________ > 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
