Use abort() instead of exit() in xio error handler?

Thiago Macieira thiago at kde.org
Thu Jun 4 07:35:24 BST 2009


Christoph Feck wrote:
>I think glibc recently got a new low level exit call, that does not dump
> core, but avoids calling the exit handlers. Maybe that is an option?

You're thinking of _Exit, which is a new thing in C++.

However, it was given that weird name because POSIX already had _exit and 
that's exactly what you want: exit without running any global destructors, 
flushing files, or running the atexit functions.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090604/7a644808/attachment.sig>


More information about the kde-core-devel mailing list