/**********************************************************************/ /* This has to have the same values as "ada_pthread_exc_t" in */ /* cma_types.ads. */ /**********************************************************************/ typedef enum { ADA_PTHREAD_CANCEL_E, /* cma_e_alerted */ ADA_TIMED_OUT_E, ADA_NO_MEMORY_E, ADA_EBUSY_E, ADA_EDEADLK_E, ADA_INVALID_OBJ_E, ADA_USE_ERROR_E, /* cma_e_use_error */ ADA_EOPNOTSUPP_E, ADA_EXIT_THREAD_E, ADA_NO_RESOURCES_E, ADA_SIGPIPE_E, ADA_SIGSYS_E, ADA_SIGTRAP_E, ADA_SIGIOT_E, ADA_SIGEMT_E, ADA_MAX_EXCEPTIONS } ada_pthread_exc_t; extern EXCEPTION ___ada_exceptions___[ ADA_MAX_EXCEPTIONS ]; void ada_thd_raise_exception( ada_pthread_exc_t ); void init___ada_exceptions( ada_pthread_exc_t );