parent
923f831804
commit
5d97c14fec
Notes:
git
2024-12-16 07:38:14 +00:00
@ -884,7 +884,7 @@ class Ractor
|
|||||||
# return true if the current ractor is main ractor
|
# return true if the current ractor is main ractor
|
||||||
def self.main?
|
def self.main?
|
||||||
__builtin_cexpr! %q{
|
__builtin_cexpr! %q{
|
||||||
GET_VM()->ractor.main_ractor == rb_ec_ractor_ptr(ec)
|
RBOOL(GET_VM()->ractor.main_ractor == rb_ec_ractor_ptr(ec))
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user