[ofa-general] Re: [PATCH] opensm/console: Fixed osm_console poll to so it won't eat up all CPU when stdin is a pipe

Sasha Khapyorsky sashak at voltaire.com
Fri Mar 6 00:45:16 PST 2009


On 09:27 Fri 06 Mar     , Nicolas Morey Chaisemartin wrote:
> >>
> >> For socket, the osm_console_close is called as it means the socket isn't in a proper state.
> > 
> > And then what osm_console() will do? Wouldn't it run over fd_in?
> > 
> Well, maybe it could just kill the current connection (cio_close).
> 
> By the way shouldn't the quit_parse function call cio_close instead od osm_console_close.

Yes, this seems reasonable. But it is another patch please.

Sasha



More information about the general mailing list