[openib-general] Re: uverbs comp events

Roland Dreier rolandd at cisco.com
Mon Aug 22 11:20:48 PDT 2005


    Sean> I think that the issue that Arlin is hitting is that once he
    Sean> calls blah_get_event() he doesn't have an easy way to
    Sean> release the thread. This may turn out to be a uCM / uAT
    Sean> issue, and not a verbs issue.

I thought about this some more.  I think the real issue is probably
that the app is sleeping blah_get_event() on a blocking fd.  If the
app doesn't want to block in that function forever, then it should use
poll() with a wake-up pipe() fd as well as the event fd.  (I'm also
not sure what's so bad about pthread_kill() as a wake-up)

 - R.



More information about the general mailing list