Skip to content
Snippets Groups Projects
Commit e1f02255 authored by Stéphane Poirier's avatar Stéphane Poirier
Browse files

[thread debugging] Use YAT_THR_DEBUG symbol in addition to YAT_ENABLE_TRACE to activate trace debug

parent 9161da44
Branches
Tags
No related merge requests found
......@@ -62,6 +62,13 @@
# include <yat/threading/impl/PosixThreadImpl.i>
#endif
#if !defined(YAT_THR_DEBUG) && defined(YAT_ENABLE_TRACE)
#undef YAT_TRACE
#undef YAT_TRACE_STATIC
#define YAT_TRACE(func_name)
#define YAT_TRACE_STATIC(func_name)
#endif
// ----------------------------------------------------------------------------
// SOME PSEUDO CONSTs
// ----------------------------------------------------------------------------
......
......@@ -60,6 +60,13 @@
# include <yat/threading/impl/WinNtThreadImpl.i>
#endif
#if !defined(YAT_THR_DEBUG) && defined(YAT_ENABLE_TRACE)
#undef YAT_TRACE
#undef YAT_TRACE_STATIC
#define YAT_TRACE(func_name)
#define YAT_TRACE_STATIC(func_name)
#endif
// ----------------------------------------------------------------------------
// SOME PSEUDO CONSTs
// ----------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment