[ofa-general] Is ibv_get_async_event() a blocking call ?

Tang, Changqing changquing.tang at hp.com
Fri Mar 2 08:32:58 PST 2007



HI, 
	I did not realize that ibv_get_async_event() is a blocking call,
it forces me to call it in another thread. But if I don't want to use
thread in my application, how do I use this function ?

	Thanks.

--CQ
 

> -----Original Message-----
> From: general-bounces at lists.openfabrics.org 
> [mailto:general-bounces at lists.openfabrics.org] On Behalf Of Steve Wise
> Sent: Friday, March 02, 2007 8:17 AM
> To: Sean Hefty
> Cc: General at lists.openfabrics.org
> Subject: RE: [ofa-general] librdmacm build failure
> 
> On Thu, 2007-03-01 at 16:02 -0800, Sean Hefty wrote:
> > Can you try this patch and see if it works for you?
> 
> works...thanks.
> 
> 
> 
> > ---
> > diff --git a/Makefile.am b/Makefile.am index 57dc0b3..2eb95c6 100644
> > --- a/Makefile.am
> > +++ b/Makefile.am
> > @@ -6,7 +6,11 @@ AM_CFLAGS = -g -Wall -D_GNU_SOURCE
> >  
> >  src_librdmacm_la_CFLAGS = $(AM_CFLAGS)
> >  
> > -librdmacm_version_script = @LIBRDMACM_VERSION_SCRIPT@
> > +if HAVE_LD_VERSION_SCRIPT
> > +    librdmacm_version_script = 
> > +-Wl,--version-script=$(srcdir)/src/librdmacm.map
> > +else
> > +    librdmacm_version_script =
> > +endif
> >  
> >  src_librdmacm_la_SOURCES = src/cma.c
> >  src_librdmacm_la_LDFLAGS = -version-info 1 -export-dynamic \
> > 
> 
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit 
> http://openib.org/mailman/listinfo/openib-general
> 



More information about the general mailing list