<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=613114816-08032003><FONT face=Arial color=#0000ff size=2>if i
provide you all with the output of strace.. would it help in some way?? (I am
still to learn to be able to read this output for proper
interpretation)</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Vincent
Penquerc'h [mailto:Vincent.Penquerch@artworks.co.uk] <BR><B>Sent:</B> Friday,
March 07, 2003 11:03 PM<BR><B>To:</B>
'linuxcprogramming@lists.linux.org.au'<BR><B>Subject:</B> RE: [LCP]FW:
pthread_mutex_lock call hangs<BR><BR></FONT></DIV>
<P><FONT size=2>> > Only difference between two build is of "-g" flag.
There is </FONT></P>
<P><FONT size=2>And about the link ? Are different libs being linked against
?</FONT> <BR><FONT size=2>Sorry to state the obvious.</FONT> <BR><FONT
size=2>Only think I can think of is timing issues. Debug info in the
exe</FONT> <BR><FONT size=2>could *maybe* cause more disk load at startup,
which could influence</FONT> <BR><FONT size=2>the thread timing. Just a shot
in the dark, really.</FONT> <BR><FONT size=2>To make sure it's not something
else that -g, strip your program</FONT> <BR><FONT size=2>compiled with -g, and
test it. Stripped program should be the same</FONT> <BR><FONT size=2>as the
release one.</FONT> </P>
<P><FONT size=2>(Sorry about the HTML, it's converted after my mailer sends
plain</FONT> <BR><FONT size=2>text).</FONT> </P>
<P><FONT size=2>-- </FONT><BR><FONT size=2>Vincent Penquerc'h
</FONT></P></BLOCKQUOTE></BODY></HTML>