Subject RE: [IB-Architect] Re: Events Improvement
Author Jim Starkey
At 09:18 PM 5/7/01 +0400, Dmitry Yemanov wrote:
>
>In my design I wanted to save the existing scheme and format of EPB. So I
>have introduced new APE (actually posted event) structure, which also
>contains event name and count, and the list of APE blocks belongs to the
>interest block. This list is allocated by the event manager during the match
>of posted events against the registered masks, but this block is allocated
>in the heap (I believe gds__alloc uses the standard C RTL heap management),
>not the shared memory. Maybe it is not the best solution, but it is the
>result of how I was thinking that time. One APE block is created for each
>interest for the relatively short period of time until the request is
>delivered and its block is freed, what causes all linked APE blocks to be
>freed as well. So, at the delivery stage, we have the following information,
>e.g:
>

I need to think about the other details before I comment further, but
allocating the APE out of heap rather than the shared region will
definitely break the event manager on classic.

Jim Starkey