[ofa-general] [PATCH RFC] libibumad: give up cpu time slice if write() falied

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Thu Jan 29 13:07:11 PST 2009


Sean Hefty wrote:
>> Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
>> +
>> +	usleep(20000);
>> 	if (!errno)
>> 		errno = EIO;
>> 	return -EIO;
> 
> I think this should be handled by the application, and not placed into the
> lowest level library.

Agree

-- Yevgeny

> - Sean
> 
> 




More information about the general mailing list