[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Why not use exit() instead of abort()?
From: |
Bernhard Kauer |
Subject: |
[Qemu-devel] Why not use exit() instead of abort()? |
Date: |
Sun, 5 Aug 2007 23:13:55 +0200 |
User-agent: |
Mutt/1.5.16 (2007-06-11) |
There are a couple of places in qemu, where abort() is called.
The most commonly used one is perhaps cpu_abort() which is called
e.g. when a triple fault occures.
As abort() does not call any atexit() function, cleanup is not
performed. This leaves for example the terminal in a state where
the cursor is invisible.
Are there any reasons not to use exit(1) in cpu_abort()?
Bernhard Kauer
qemu_abort.diff
Description: Text Data
- [Qemu-devel] Why not use exit() instead of abort()?,
Bernhard Kauer <=