[openib-general] Re: uCM create connection ID
Sean Hefty
mshefty at ichips.intel.com
Wed Jun 29 11:16:19 PDT 2005
Libor Michalek wrote:
>>Is it possible for a consumer of uCM to provide a context with the
>>create_id that could be returned with the event? I will have some scale
>>up issues if I have to walk a list looking for a uCM provided connection
>>ID instead of a context that could point directly to the appropriate
>>uDAPL CM object.
>
> It would be easy to add in a context variable. I had left it out on
> purpose, since it's easy to get into a situation where using the context
> as a pointer you can end up referencing deallocated memory. However, I
> suppose it should be there for flexability.
Can you explain the situation where the application could reference
deallocated memory? I would think that the uCM could take steps that would
make it impossible for a well written app from doing this.
- Sean
More information about the general
mailing list