From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Gautier To: "Ecos-List (E-mail)" Subject: [ECOS] A safe way to print debug output in DSRs ? Date: Tue, 29 Aug 2000 11:43:00 -0000 Message-id: <8AE4B526B977D411841F00A0CC334020052C30@cuz-exchange.sdesigns.net> X-SW-Source: 2000-08/msg00318.html 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