[openib-general] RE: userspace event reporting

Arlin Davis ardavis at ichips.intel.com
Tue Jul 12 17:11:34 PDT 2005


Sean Hefty wrote:

>>Are we talking about multithreaded app?
>>    
>>
>
>Correct.  The app is trying to get events while needing to destroy a cm_id (or
>other object) at the same time.
>
>  
>
>>So this is purely userspace issue - cant userspace just take some mutex
>>in get_event and destroy paths?
>>    
>>
>
>I believe that this is purely a userspace issue.  I can't see why using a mutex
>wouldn't work, but I believe that get_event() currently blocks waiting for an
>event.
>  
>
there is a new ib_cm_event_get_timed call that I can use that will not 
block.

>Note that get_event() may be reporting events associated with an object other
>than the one being destroyed.
>
>- Sean
>
>_______________________________________________
>openib-general mailing list
>openib-general at openib.org
>http://openib.org/mailman/listinfo/openib-general
>
>To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>
>  
>




More information about the general mailing list