\input manualMacros.tex
\manBegin
\manPageInfo{RCCL Reference Manual}{}{}
\manTitle{rcclAbortReset}{3}
\manSection{NAME}
{\rightskip=0ptplus1fil
{\tt \manName{rcclAbortReset}}
-- reset RCCL system in the event of an RCI abort.
}
\manSection{USAGE}
\cverbatim
rcclAbortReset()
@endcverbatim
\manSection{RESTRICTIONS}
This routine is defined only for the planning level.
\manSection{DESCRIPTION}
This routine should be called by any handler that catches an RCI
abort condition, if the program is to continue executing.
An abort condition in an RCCL program will leave
certain variables in an invalid state unless this reset routine is called
before the handler exits.

Abort handlers can be established to handle RCI abort conditions using the
routine 
{\tt rciAbortHandler()}. 
\manSection{BUGS}
As usual, one has to be carefull when using {\tt longjmp()}. 
Some RCCL primitives are not reentrant, and {\tt rcclAbortReset()}
may not be able to restore all the data states if the program
was inside one of these when the abort occured.
Primitives to be watchfull of are ones that allocate or create things
(such as {\tt allocMem()} or {\tt rcclCreate()}).
\manSection{DIAGNOSTICS}
The routine will abort the program if called from the control level.
\manSection{SEE ALSO}
\rightskip=0ptplus1fil
{\tt rciAbortHandler(3)}.
\manEnd
\end
