diff options
author | Koichi Sasada <ko1@atdot.net> | 2023-03-30 02:38:08 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2023-03-30 14:56:37 +0900 |
commit | 30b43f4f1a37641edc0b146b8a648686a65a3aef (patch) | |
tree | cfb8eadc793d0590a1a01459279f0400ab9bda81 /thread.c | |
parent | 94e41822679ebd269564ad10d366596e1514d4ef (diff) |
`rb_ractor_thread_list()` only for current ractor
so that no need to lock the ractor.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7616
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2728,7 +2728,7 @@ VALUE rb_thread_list(void) { // TODO - return rb_ractor_thread_list(GET_RACTOR()); + return rb_ractor_thread_list(); } /* |