Results 1 to 4 of 4
Dear all,
I am using Pthread concept for developing my application Some times my system is getting hanged while the code is running and as soon as I am Pressing ...
- 10-01-2010 #1Just Joined!
- Join Date
- Oct 2010
- Posts
- 1
Linux Hanging Problem
Dear all,
I am using Pthread concept for developing my application Some times my system is getting hanged while the code is running and as soon as I am Pressing CTRL + C it is coming out of the code and system is going to the normal state. but several time only ^C is appearing in the terminal and system is not responding.
do any one have the Solution what to do in that case.
Thanks in Advance
Regards,
Peter Xenomai.
- 10-01-2010 #2
Welcome xenomai,
You may get a better response to this in the programming forum. I have pinged the mods to see if they will move it.
Other than that, no idea I'm afraid.If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 10-01-2010 #3forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,096
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 10-01-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
It depends entirely on what you are doing in your code. It could be a deadlock between threads, a runaway code loop, waiting for I/O, etc. Have you tried running it in the debugger to see exactly what it is doing, and where it is doing it?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
