File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2084,9 +2084,9 @@ rb_current_execution_context(bool expect_ec)
20842084 * and the address of the `ruby_current_ec` can be stored on a function
20852085 * frame. However, this address can be mis-used after native thread
20862086 * migration of a coroutine.
2087- * 1) Get `ptr =&ruby_current_ec` op NT1 and store it on the frame.
2087+ * 1) Get `ptr = &ruby_current_ec` on NT1 and store it on the frame.
20882088 * 2) Context switch and resume it on the NT2.
2089- * 3) `ptr` is used on NT2 but it accesses to the TLS on NT1.
2089+ * 3) `ptr` is used on NT2 but it accesses the TLS of NT1.
20902090 * This assertion checks such misusage.
20912091 *
20922092 * To avoid accidents, `GET_EC()` should be called once on the frame.
You can’t perform that action at this time.
0 commit comments