We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
USE_MN_THREADS=0
1 parent a3af4e9 commit 9e7c429Copy full SHA for 9e7c429
1 file changed
vm_dump.c
@@ -515,9 +515,13 @@ rb_vmdebug_thread_dump_state(FILE *errout, VALUE self)
515
static bool
516
is_coroutine_start(unw_word_t ip)
517
{
518
+#if USE_MN_THREADS
519
struct coroutine_context;
520
extern void ruby_coroutine_start(struct coroutine_context *, struct coroutine_context *);
521
return ((void *)(ip) == (void *)ruby_coroutine_start);
522
+#else
523
+ return false;
524
+#endif
525
}
526
# endif
527
0 commit comments