Showing the changes to src/core/chuck_errmsg.cpp (1 of 23 files). Show all
Unified · Split
| @@ -38,7 +38,7 @@ · 37 unmodified lines | ||
| 38 | 38 | #include <iostream> |
| 39 | 39 | #include "chuck_utils.h" |
| 40 | 40 | #include "chuck_errmsg.h" |
| 41 | −#include "util_thread.h" | |
| 41 | +//#include "util_thread.h" | |
| 42 | 42 | |
| 43 | 43 | |
| 44 | 44 | // global |
| @@ -57,7 +57,7 @@ static size_t g_lasterrorIndex = strlen(g_lasterror); · 12 unmodified lines | ||
| 57 | 57 | // log globals |
| 58 | 58 | t_CKINT g_loglevel = CK_LOG_CORE; |
| 59 | 59 | t_CKINT g_logstack = 0; |
| 60 | −XMutex g_logmutex; | |
| 60 | +//XMutex g_logmutex; | |
| 61 | 61 | |
| 62 | 62 | // more local globals |
| 63 | 63 | static const size_t g_buffer2_size = 1024; |
| @@ -574,7 +574,7 @@ void EM_log( t_CKINT level, const char * message, ... ) · 510 unmodified lines | ||
| 574 | 574 | // check level |
| 575 | 575 | if( level > g_loglevel ) return; |
| 576 | 576 | |
| 577 | − g_logmutex.acquire(); | |
| 577 | +// g_logmutex.acquire(); | |
| 578 | 578 | CK_FPRINTF_STDERR( "[chuck]:" ); |
| 579 | 579 | CK_FPRINTF_STDERR( "(%i:%s): ", level, g_str[level] ); |
| 580 | 580 | |
| @@ -588,7 +588,7 @@ void EM_log( t_CKINT level, const char * message, ... ) · 7 unmodified lines | ||
| 588 | 588 | |
| 589 | 589 | CK_FPRINTF_STDERR( "\n" ); |
| 590 | 590 | CK_FFLUSH_STDERR(); |
| 591 | − g_logmutex.release(); | |
| 591 | +// g_logmutex.release(); | |
| 592 | 592 | } |
| 593 | 593 | |
| 594 | 594 | |