Allows a thread to request that it or another thread terminate execution.
cma_thread_alert(
                  thread);
 
Argument         Data Type               Access
thread           opaque cma_t_thread     read
#includevoid cma_thread_alert ( cma_t_thread *thread);
Because of communication delays, the calling thread can only rely on the fact that an alert will eventually become pending in the designated thread (provided that the thread does not terminate beforehand). Furthermore, the calling thread has no guarantee that a pending alert will be delivered because delivery is controlled by the designated thread.
The cma_e_existence exception is raised if the value specified in thread is cma_c_null, or if it refers to a thread that does not currently exist.
This routine is not alertable.
cma_e_existence cma_e_use_error