[ECOS] A safe way to print debug output in DSRs ?

Fabrice Gautier Fabrice_Gautier@sdesigns.com
Tue Aug 29 11:43:00 GMT 2000


Hi,

I'm looking for a safeway to print debug ouput while in a DSR.

Printf is not safe for it locks a mutex.

The weird thing is that AFAICS it uses this mutex only when using the
thread-safe printf option. Could this mean that the not thread safe printf
call is more safe for DSRs? 
Or is there another call that is safe? What about diag_printf?

Thanks

-- 
Fabrice Gautier
fabrice_gautier@sdesigns.com 



More information about the Ecos-discuss mailing list