Many cma routines perform functions nearly identical to the POSIX 1003.1c interface routines. The syntax and semantics may differ, but there is nonetheless quite a bit of similarity.
cma Routine POSIX 1003.1c Routine Notes
cma_alert_disable_asynch pthread_setcancelstate/pthread_
setcanceltype
cma_alert_disable_general pthread_setcancelstate/pthread_
setcanceltype
cma_alert_enable_asynch pthread_setcancelstate/pthread_
setcanceltype
cma_alert_enable_general pthread_setcancelstate/pthread_
setcanceltype
cma_alert_restore pthread_setcancelstate/pthread_
setcanceltype
cma_alert_test pthread_testcancel
cma_attr_create pthread_attr_init
cma_attr_delete pthread_attr_destroy
cma_attr_get_guardsize pthread_attr_getguardsize_np
cma_attr_get_inherit_sched pthread_attr_getinheritsched
cma_attr_get_mutex_kind pthread_mutexattr_gettype_np
cma_attr_get_priority pthread_attr_setsched_param
cma_attr_get_sched pthread_attr_getschedpolicy
cma_attr_get_stacksize pthread_attr_getstacksize
cma_attr_set_guardsize pthread_attr_setguardsize_np
cma_attr_set_inherit_sched pthread_attr_setinheritsched
cma_attr_set_mutex_kind pthread_mutexattr_settype_np
cma_attr_set_priority pthread_attr_setsched_param
cma_attr_set_sched pthread_attr_setschedpolicy
cma_attr_set_stacksize pthread_attr_setstacksize
cma_cond_broadcast pthread_cond_broadcast
cma_cond_create pthread_cond_init
cma_cond_delete pthread_cond_destroy
cma_cond_signal pthread_cond_signal
cma_cond_signal_int pthread_cond_signal_int_np
cma_cond_timed_wait pthread_cond_timedwait
cma_cond_wait pthread_cond_wait
cma_debug pthread_debug
cma_debug_cmd pthread_debug_cmd
cma_delay pthread_delay_np
cma_handle_assign NONE Use Language assignment
operator
cma_handle_equal pthread_equal
cma_init NONE Not necessary
cma_key_create pthread_key_create pthread_key_delete is
available as well
cma_key_get_context pthread_getspecific
cma_key_set_context pthread_setspecific
cma_lock_global pthread_lock_global_np
cma_mutex_create pthread_mutex_init
cma_mutex_delete pthread_mutex_delete
cma_mutex_lock pthread_mutex_lock
cma_mutex_try_lock pthread_mutex_trylock
cma_mutex_unlock pthread_mutex_unlock
cma_once pthread_once
cma_stack_check_limit_np
cma_thread_alert pthread_cancel
cma_thread_bind_to_cpu NONE
cma_thread_create pthread_create
cma_thread_detach pthread_detach
cma_thread_exit_error pthread_exit With Status
cma_thread_exit_normal pthread_exit With Status
cma_thread_get_priority pthread_getschedparam
cma_thread_get_sched pthread_setschedparam
cma_thread_get_self pthread_self
cma_thread_join pthread_join
cma_thread_set_priority pthread_setschedparam
cma_thread_set_sched pthread_setschedparam
cma_time_get_expiration pthread_get_expiration_np
cma_unlock_global pthread_unlock_global_np
cma_yield pthread_yield