summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-10-02 10:19:17 -0700
committerJohn Hawthorn <john@hawthorn.email>2025-10-02 11:06:35 -0700
commit272e5b7cc582bb0cc81f29957a17011e1e7367bd (patch)
tree9824e5b1bc3f5b1a1a2102775d7a5e3779502203
parent72055043fc2fb289b0dc3af01c276f06adfc4934 (diff)
[DOC] Remove now inaccurate comment about blocking
Originally ractor_next_id used a VM_LOCK, but now it is an atomic and won't block.
-rw-r--r--ractor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ractor.c b/ractor.c
index c439f25e85..43a7f6c140 100644
--- a/ractor.c
+++ b/ractor.c
@@ -514,7 +514,6 @@ ractor_create(rb_execution_context_t *ec, VALUE self, VALUE loc, VALUE name, VAL
rb_ractor_t *r = RACTOR_PTR(rv);
ractor_init(r, name, loc);
- // can block here
r->pub.id = ractor_next_id();
RUBY_DEBUG_LOG("r:%u", r->pub.id);