Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Abort (computing)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Types of aborts == # '''User-Initiated Aborts''': Users can often abort tasks using keyboard shortcuts (like Ctrl + C in terminal applications) or commands to terminate processes. This is especially useful for stopping unresponsive programs or those taking longer than expected to execute.<ref name=":1">{{Cite web |date=24 May 2021 |title=What is Abort? {{!}} Webopedia |url=https://www.webopedia.org/definitions/abort/ |access-date=3 November 2024 |website=nojs-rotate.domaincntrol.com}}</ref> # '''Programmatic Aborts''': Developers can implement abort logic in their code. For instance, when a program encounters an error or invalid input, it may call functions like <code>abort()</code> in C or [[C++]] to terminate execution. This approach helps prevent further errors or potential data corruption.<ref name=":0" /><ref name=":2">{{Cite web |date=2010-07-09 |title=C exit(), abort() and assert() Functions |url=https://www.geeksforgeeks.org/c-exit-abort-and-assert-functions/ |access-date=2024-11-03 |website=GeeksforGeeks |language=en-US}}</ref> # '''System-Level Aborts''': Operating systems might automatically abort processes under certain conditions, such as resource exhaustion or unresponsiveness. For example, a watchdog timer can terminate a process that remains idle beyond a specified time limit.<ref name=":1" /><ref name=":2" /> # '''Database Transactions''': In database management, aborting (often termed ‘rolling back’) a transaction is crucial for maintaining data integrity. If a transaction cannot be completed successfully, aborting it returns the database to its previous state, which ensures that incomplete transactions don’t leave the data inconsistent.<ref name=":2" /> Aborts are typically logged, especially in critical systems, to facilitate troubleshooting and improve future runs.<ref name=":2" />
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)