<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.E-MailFormatvorlage18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=DE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Sean,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>our application is using OFED 1.1 under SLES10.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>It is a point to point IB connection from a high speed
image scanner to a workstation. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>The application is out in the market for about a year.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Now I get complains from the field that they do have
dead pthreads hanging around that are stuck in the ib_cm_get_event call.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>For your explanation I’m creating a new pthread
for every new attempt to connect from the workstation to the image scanner.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>This will happen only when one does re-power the
image scanner while having a connection established, this might happen often as
once a week to once a month.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>The reason for the complains now are that the
thread’s hanging in the ib_cm_get_event consume system resources and
might block the system after some 40 power cyles.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>They don’t want/can’t restart the
workstation application in order to get the old phreads destroyed.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>So my question is: How can I get a pthread out of the
ib_cm_get_event call?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Thanks in advance for your help<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><st1:PersonName w:st="on"><font size=2 face=Arial><span
 lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Thomas Bub</span></font></st1:PersonName><font
size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=2 color=gray face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial;color:gray'>................................................................................<br>
<st1:PersonName w:st="on">Thomas Bub</st1:PersonName></span></font><font
size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'><br>
<font color=gray><span style='color:gray'>Senior Software Engineer<br>
<st1:place w:st="on"><st1:City w:st="on">Grass Va<span lang=DE>lley</span></st1:City><span
 lang=DE> <st1:country-region w:st="on">Germany</st1:country-region></span></st1:place><span
lang=DE> GmbH<br>
Brunnenweg 9<br>
64331 Weiterstadt, Germany<br>
Tel: +49 6150 104 147<br>
Fax: +49 6150 104 656<br>
Email: </span></span></font></span></font><u><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'><a
href="mailto:Thomas.Bub@thomson.net">Thomas.Bub@thomson.net</a></span></font></u><font
size=2 color=gray face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:gray'><br>
<a href="http://www.grassvalley.com">www.GrassValley.com </a><br>
______________________________________________<br>
</span></font><font size=1 color=gray face=Arial><span style='font-size:7.0pt;
font-family:Arial;color:gray'><br>
Geschäftsführung: Hans-Joachim Krink, Roger Keller,<br>
Rainer Sturm, Edgar Kleffmann<br>
Sitz der Gesellschaft: Weiterstadt<br>
Registergericht: Darmstadt - HRB 8616</span></font><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>