Terminates the current thread when successful completion occurs prematurely.
cma_thread_exit_normal( result);
Argument Data Type Accessresult opaque cma_t_address read
#includevoid cma_thread_exit_normal ( cma_t_address result);
Normally, a thread terminates when the start_routine argument to cma_thread_create returns. Call this routine when it is not necessary or convenient to allow the thread's start routine to return normally to its caller.