These printfs spew to the console when command-line utilities
such as 'klist' and 'aklog' are run, reducing usability.
These printfs can also cause application hangs.
On a multiprocessor machine, when PuTTY and the ccapiserver are
running on different CPUs, PuTTY appears to deadlock with three
concurrent threads inside cci_debug_printf().
ticket: 7342 (new)
target_version: 1.10.4
tags: pullup
/* ------------------------------------------------------------------------ */
void cci_os_debug_vprintf (const char *in_format, va_list in_args) {
+#ifdef DEBUG
printf ( "%s %ld ", timestamp(), GetCurrentThreadId() );
vprintf ( in_format, in_args );
printf ( "\n" );
+#endif
}