os/kernelhwsrv/kernel/eka/compsupp/rvct2_0/rtabort.cpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "ARM EABI LICENCE.txt"
     5 // which accompanies this distribution, and is available
     6 // in kernel/eka/compsupp.
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #include <e32std.h>
    17 #include <e32std_private.h>
    18 
    19 extern "C" {
    20 // function the runtime can call to abort a process, 
    21 // the runtime library is not finalized and no atexit 
    22 // processing takes places.
    23 EXPORT_C void __rt_abort() /* never returns */
    24     {
    25     RThread().Kill(KErrAbort);
    26     }
    27 }