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

Sasha Khapyorsky sashak at voltaire.com
Mon Feb 6 06:28:06 PST 2006


On 14:25 Mon 06 Feb     , Michael S. Tsirkin wrote:
> 
> As was pointed out several times, we dont really need a signal
> handler in linux,

The signals are used. For instance SIGHUP will initiate re-sweep (I use
it frequently), clean exit is done with SIGINT and SIGTERM.

If signals are not supported in windows this can be simply masked in
less aggressive way, Something like:

       #define signal(a,b)
  , or #define cl_reg_sig_hdl(a,b)

(or something better) in windows specific common header file.

Sasha.



More information about the general mailing list