2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 #include <exec/execbase.h>
6 #include <clib/exec_protos.h>
10 void dispatch(struct ExecBase
*SysBase
)
16 if(me
->tc_Flags
&TF_SWITCH
)
18 me
->tc_IDNestCnt
=SysBase
->IDNestCnt
;
19 SysBase
->IDNestCnt
=-1;
20 list
=&SysBase
->TaskReady
;
21 me
=(struct Task
*)list
->lh_Head
;
22 list
->lh_Head
=me
->tc_Node
.ln_Succ
;
23 me
->tc_Node
.ln_Succ
->ln_Pred
=(struct Node
*)list
;
26 SysBase
->IDNestCnt
=me
->tc_IDNestCnt
;
27 if(me
->tc_Flags
&TF_LAUNCH
)
30 if(me
->tc_Flags
&TF_EXCEPT
)