Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #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


    Peter Xenomai.

  2. #2
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Either at home or at work or down the pub
    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.
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!

    The Fifth Continent

  3. #3
    Join Date
    May 2004
    arch linux
    Quote Originally Posted by elija View Post
    I have pinged the mods to see if they will move it.
    thread moved...

  4. $spacer_open
  5. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts