[ECOS] mutexes again

Ronald Tubben r.tubben@mauell.nl
Fri Jan 30 14:04:00 GMT 2004


Hi,
Yesterday I made this mistake by forgetting to initialize a mutex by 
cyg_mutex_init.
So I wrote a class for it. In the constructor of the class the mutex is 
being initiated (this option can be disabled and later intiated).
My question is:
Are theire performance or other disadvantages to do this so?
An advantage is the implimentation of the cyg_mutex_status() which 
returns the status of a mutex and the cyg_mutex_testunlock()

Thanks in advanced,

Ronald Tubben
Mauell BV




-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list