[Openais] Event Channel Unlink
Mark Haverkamp
markh at osdl.org
Mon Jul 25 10:35:12 PDT 2005
On Wed, 2005-07-20 at 15:31 +0530, Arunachalam wrote:
> Sir,
>
>
>
> Even if the channel’s unlink API followed by the close API is issued,
> the channel will not be deleted (Channel’s instance will not be freed)
> if events are in the channel, that is, if the retained count
> (esc_retained_count, a element of event server channel instance) is
> there (with reference to delete_channel() function in the exec/evt.c).
> (With reference to latest openais implementation of SAF B 01 Spec).
>
>
>
> But this does not follow the spec statement, “The deletion of an event
> channel frees all resources allocated by the Event Service
>
> for it, such as published events with non-zero retention time”, SAF
> EVENT SERVICE --- UNLINK API ---(line no:41,42).
>
I think that I see what you are saying. I think that my code is
somewhat out of date. I need to update the code to not wait for
retained events to expire before deleting the unlinked event channel.
Submitted as bug 776
http://www.osdl.org/developer_bugzilla/show_bug.cgi?id=776
Thanks,
Mark.
>
>
> Is it right?
>
>
>
> Regards
>
> A P Sarathy
>
>
>
>
>
>
> _______________________________________________
> Openais mailing list
> Openais at lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/openais
--
Mark Haverkamp <markh at osdl.org>
More information about the Openais
mailing list