<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN class=108021817-20012010>Hi
Sean,</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=108021817-20012010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=108021817-20012010>Currently there are
4 functions for dealing with the completion channel api in
RDMA-CM.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=108021817-20012010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=108021817-20012010>struct
rdma_event_channel *rdma_create_event_channel(void);<BR>void
rdma_destroy_event_channel(struct rdma_event_channel *channel);<BR>int
rdma_get_cm_event(struct rdma_event_channel
*channel,<BR> struct rdma_cm_event
**event);<BR>__declspec(dllexport)<BR>int rdma_ack_cm_event(struct rdma_cm_event
*event);<BR></SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=108021817-20012010>I'm trying to figure
out how can an rdma_get_cm_event() be canceled when running over
windows.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=108021817-20012010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=108021817-20012010>For example,
consider a server that is looking for new connections (after calling rdma_listen
). </SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=108021817-20012010>There is a chance
that a new connection will never come and the call to rdma_get_cm_event() will
block there for ever.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=108021817-20012010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=108021817-20012010>This will be even
more important once we will implement rdma_cm in kernel (in which one can not
press ctrl c).</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=108021817-20012010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=108021817-20012010>Thanks</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=108021817-20012010>Tzachi</DIV></SPAN></FONT></BODY></HTML>