mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
remove DEBUG_OUT()
macro
This macro is no longer used ([GH-5933]).
This commit is contained in:
parent
d2033d0f06
commit
62e08d4b84
Notes:
git
2022-05-24 16:28:27 +09:00
3 changed files with 0 additions and 20 deletions
|
@ -51,18 +51,6 @@
|
|||
# define USE_EVENTFD (0)
|
||||
#endif
|
||||
|
||||
#ifdef NON_SCALAR_THREAD_ID
|
||||
#define DEBUG_OUT_NT_ID (NULL)
|
||||
#else
|
||||
#define DEBUG_OUT_NT_ID ((void *)pthread_self())
|
||||
#endif
|
||||
|
||||
#define DEBUG_OUT() \
|
||||
pthread_mutex_lock(&debug_mutex); \
|
||||
printf(POSITION_FORMAT"%"PRI_THREAD_ID" - %s" POSITION_ARGS, DEBUG_OUT_NT_ID, buf); \
|
||||
fflush(stdout); \
|
||||
pthread_mutex_unlock(&debug_mutex);
|
||||
|
||||
#if defined(SIGVTALRM) && !defined(__CYGWIN__) && !defined(__EMSCRIPTEN__)
|
||||
# define USE_UBF_LIST 1
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue