[LCP]FW: pthread_mutex_lock call hangs

Ajay Bansal Ajay_Bansal at infosys.com
Sun Mar 9 00:47:02 UTC 2003


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)

	-----Original Message-----
	From: Vincent Penquerc'h
[mailto:Vincent.Penquerch at artworks.co.uk] 
	Sent: Friday, March 07, 2003 11:03 PM
	To: 'linuxcprogramming at lists.linux.org.au'
	Subject: RE: [LCP]FW: pthread_mutex_lock call hangs
	
	

	> > Only difference between two build is of "-g" flag. There is 

	And about the link ? Are different libs being linked against ? 
	Sorry to state the obvious. 
	Only think I can think of is timing issues. Debug info in the
exe 
	could *maybe* cause more disk load at startup, which could
influence 
	the thread timing. Just a shot in the dark, really. 
	To make sure it's not something else that -g, strip your program

	compiled with -g, and test it. Stripped program should be the
same 
	as the release one. 

	(Sorry about the HTML, it's converted after my mailer sends
plain 
	text). 

	-- 
	Vincent Penquerc'h 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux.org.au/pipermail/linuxcprogramming/attachments/20030309/3324e96a/attachment.htm 


More information about the linuxCprogramming mailing list