<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: [patch] cl_signal_osd.h</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>What does cl_reg_sig_hdl map to for other platforms? </FONT>
<BR><FONT SIZE=2>[YL] We have implementation of this function in our Linux compilb for both Windows and Linux, because our complib does not include any Linux implementation I remove the code and left only direct call to signal .</FONT></P>
<P><FONT SIZE=2>But still to keep the same code base we need this function.</FONT>
</P>
<P><FONT SIZE=2>Why not just call signal directly?</FONT>
<BR><FONT SIZE=2>[YL] as I explain in Linux complib we have other implementation.</FONT>
<BR><FONT SIZE=2>We need it in order to keep the same code base</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Fab Tillier [<A HREF="mailto:ftillier@silverstorm.com">mailto:ftillier@silverstorm.com</A>] </FONT>
<BR><FONT SIZE=2>Sent: Tuesday, July 12, 2005 3:18 AM</FONT>
<BR><FONT SIZE=2>To: 'Yossi Leybovich'</FONT>
<BR><FONT SIZE=2>Cc: openib-windows@openib.org; Windows Group</FONT>
<BR><FONT SIZE=2>Subject: RE: [patch] cl_signal_osd.h</FONT>
</P>
<BR>
<P><FONT SIZE=2>> From: Yossi Leybovich [<A HREF="mailto:sleybo@mellanox.co.il">mailto:sleybo@mellanox.co.il</A>]</FONT>
<BR><FONT SIZE=2>> Sent: Monday, July 11, 2005 4:08 AM</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Attached patch file for cl_signal_osd.h (for registering to OSs </FONT>
<BR><FONT SIZE=2>> signals.) OpenSM need it. We would be happy if you review it, and then </FONT>
<BR><FONT SIZE=2>> CI this file to complib.</FONT>
</P>
<P><FONT SIZE=2>What does cl_reg_sig_hdl map to for other platforms? Why not just call signal directly? Does it ever resolve to anything but signal or a __noop macro? As it stands, it doesn't seem like a very useful abstraction, as cl_reg_sig_hdl has the same prototype as signal, and cl_sig_mask_sigint is a no-op.</FONT></P>
<P><FONT SIZE=2>Thanks,</FONT>
</P>
<P><FONT SIZE=2>- Fab</FONT>
</P>
</BODY>
</HTML>