AllExperts > Encyclopedia 
Search      
Find out about volunteering to AllExperts

Hang: Encyclopedia BETA


Free Encyclopedia
 Home · Index · Browse A-Z  · Questions and Answers ·
Encyclopedia

Browse A-Z
ABCDEFGHIJKLMNOPQRSTUVWXYZNum


License
Disclaimer

 
 
 
 
Free Online Courses
12 Weeks to Weight Loss
Take Charge of Stress
Learn How to Bake
Budgeting 101
Deeper Faith
DIY Fashion Makeover

       MORE E-COURSES
 
   

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z  Misc

Hang



This page is about the computer malfunction called hanging. For other meanings, see hang (disambiguation). For the capital punishment, see hanging.In computing, either a single computer program or the whole system may hang, better known as freeze. This means that either just this process or the whole system is unresponsive to keyboard and mouse input. The window concerned or the whole computer screen becomes static, in the latter case including the mouse cursor. Contrast with crash, where a program exits abnormally with an error message. When no other input works the power cycle must be restarted by an on/off or reset button.

The cause of a hang is usually that the programmer has incorrect termination conditions for a loop, or, in a co-operative multitasking operating system, forgetting to yield to other tasks. But unstable electricity is an underestimated cause for hangs. More hangs than most people realize are due to interferences in the electricity.

Usually, in systems with a modern operating system, the user is able to terminate the programs running (for instance, with the kill command, or through the "end task" button on the task list in recent versions of Microsoft Windows), and, if they wish, restart it in the hope that the anomalous condition that caused the hang does not recur. Older systems, such as those using MS-DOS or Microsoft Windows 3.1, often needed to be totally restarted in the event of a hang.

Most newer systems, such as Windows 2000/XP, Apple Computer's Mac OS X and Linux crash less often; they do not need to be totally restarted in the event of a hang.

A Watchdog timer can reboot the computer in events of a hang.

See also

* abort (computing)
* Blue screen of death
* crash (computing)
* Deadlock
* Livelock
* Infinite loop
* Hangout

* Hang (musical instrument)



  Rate this Article
   Was this article helpful?
Not at allDefinitely              
   12345  

Email this page
About Us | Advertise on This Site | User Agreement | Privacy Policy | Kids' Privacy Policy | Help
About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.
This is the "GNU Free Documentation License" reference article from the English Wikipedia. All text is available under the terms of the GNU Free Documentation License. See also our Disclaimer.