[ofw] Re: [ofa-general] [PATCH] uDAPL v2 - dapltest patches for mdep processor yield
Smith, Stan
stan.smith at intel.com
Thu Aug 20 11:43:13 PDT 2009
Roland Dreier wrote:
> > +#define DT_Mdep_yield pthread_yield
>
> Be aware that on Linux I believe this turns into sched_yield(), which
> basically means "put me at the end of the thread list" ie wait for
> everyone else to get a turn ie possibly huge latency...
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
Is sleep(0) a preferred way to go?
More information about the ofw
mailing list