[ofw] Re: [ofa-general] [PATCH] uDAPL v2 - dapltest patches for mdep processor yield

Roland Dreier rdreier at cisco.com
Thu Aug 20 11:45:38 PDT 2009


 > Is sleep(0) a preferred way to go?

I think the best solution is not coding spin-loops.  Not sure what
sleep(0) ends up turning into, but if you can tell the system "I'm
waiting for this object, wake me up when it's available" then that
should produce the best behavior.

 - R.



More information about the ofw mailing list