[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

1811.0. "Documentation on mcc_mutex ?" by MICROW::LANG () Wed Nov 13 1991 20:20

    
    I want to use the mcc_mutex calls, and I guess they're new in
    1.2...so...I'm looking for either some writeup on them, or a
    pointer to the SRM manual for MCC 1.2 (am using ultrix.)
    
    		thanks,
    
    			Bonnie
T.RTitleUserPersonal
Name
DateLines
1811.1Consider using DECthreads POSIX APITOOK::BURGESSTue Jan 07 1992 14:0122
	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