| There is a pending eco to the SRM describing the mcc_mutex... calls
which are just jacket rtns around DECthread mutex rtns for compatibility
reasons with v1.0 and v1.1 DECmcc which provided and used undocumented
mutex and condition variable rtns.
MCC_T_CVR mcc_mutex_create(MCC_T_MUTEX *mutex)
MCC_T_CVR mcc_mutex_delete(MCC_T_MUTEX *mutex)
MCC_T_CVR mcc_mutex_try_lock(MCC_T_MUTEX *mutex)
MCC_T_CVR mcc_mutex_lock(MCC_T_MUTEX *mutex)
MCC_T_CVR mcc_mutex_unlock(MCC_T_MUTEX *mutex)
I recommend using the POSIX real-time API draft 4 supported by DECthreads
with the caveat that this "standard" is still being finallized and of course
subject to some change in some areas in the future.
With DECmcc v1.2 the framework thread support is now layered on DECthreads
with provides both a CMA (DEC) interface and the POSIX (standard) interface.
The DECmcc thread routines layerd on DECthreads just provide a consistent
interface over DECthreads, and a bridge for client code from DECmcc v1.0 to v1.2.
\Pete
|