2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #include <exec/execbase.h>
8 /******************************************************************************
11 #include <proto/exec.h>
13 AROS_LH0(void, Exception
,
16 struct ExecBase
*, SysBase
, 11, Exec
)
36 ******************************************************************************/
38 struct Task
* this = FindTask (NULL
);
42 this->tc_Flags
&= ~TF_EXCEPT
;
44 nestCnt
= SysBase
->IDNestCnt
;
45 SysBase
->IDNestCnt
= 0;
47 while ((flags
= (this->tc_SigExcept
& this->tc_SigRecvd
)))
49 flags
^= this->tc_SigExcept
;
50 flags
^= this->tc_SigRecvd
;
54 this->tc_SigExcept
= (*((ULONG_FUNC
)(this->tc_ExceptCode
))) (this->tc_ExceptData
);
59 SysBase
->IDNestCnt
= nestCnt
;