[openib-general] RE: [PATCH] Opensm - osm_reg_sig_handler in Windows

Yael Kalka yael at mellanox.co.il
Mon Feb 6 04:41:06 PST 2006


Michael,

The signal handling for catching ^C (SIGINT) was deleted before.
There are other signalling caught by OpenSM, for example SIGHUP, that enables
triggering the OpenSM to do another heavy sweep. We do not want to remove this.

Yael

-----Original Message-----
From: Michael S. Tsirkin 
Sent: Monday, February 06, 2006 2:25 PM
To: Yael Kalka
Cc: halr at voltaire.com; openib-general at openib.org
Subject: Re: [PATCH] Opensm - osm_reg_sig_handler in Windows


Quoting r. Yael Kalka <yael at mellanox.co.il>:
> Subject: [PATCH] Opensm - osm_reg_sig_handler in Windows
> 
> 
> Hi Hal,
> 
> The osm_reg_sig_handler function is not supported in Windows. 
> The following patch adds the function only if non-Windows stack.
> 
> Thanks,
> Yael
> 
> Signed-off-by:  Yael Kalka <yael at mellanox.co.il>

As was pointed out several times, we dont really need a signal
handler in linux, either, since driver detects the application exiting
automatically.

Can we kill it completely please?

Work around for broken drivers that cant detect application exiting
belongs in the vendor layer, not in opensm proper.


-- 
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies



More information about the general mailing list