Terminates the current thread when an error occurs.
cma_thread_exit_error();
#includevoid cma_thread_exit_error (void);
Call this routine only when an error occurs that requires thread termination and you do not want to signify the error by raising an exception. (Raising an exception is the preferred means of indicating errors; however, an unhandled exception will terminate the program.)