Skip to content

Commit 6a05545

Browse files
nobumatzbot
authored andcommitted
[ruby/io-wait] No method definition is always ractor-safe
ruby/io-wait@44b68fc51b
1 parent ff4f9b8 commit 6a05545

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

ext/io/wait/wait.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,11 @@
1111
1212
**********************************************************************/
1313

14-
#include "ruby.h"
15-
#include "ruby/io.h"
16-
17-
1814
/*
19-
* IO wait methods
15+
* IO wait methods are built in ruby now, just for backward compatibility.
2016
*/
2117

2218
void
2319
Init_wait(void)
2420
{
25-
#ifdef HAVE_RB_EXT_RACTOR_SAFE
26-
RB_EXT_RACTOR_SAFE(true);
27-
#endif
28-
2921
}

0 commit comments

Comments
 (0)