mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Monitor
This commit is contained in:
parent
871124c3ea
commit
2acbf45d36
Notes:
git
2024-12-25 04:21:47 +00:00
1 changed files with 2 additions and 0 deletions
|
@ -238,6 +238,8 @@ module MonitorMixin
|
|||
@mon_data_owner_object_id = self.object_id
|
||||
end
|
||||
|
||||
# Ensures that the MonitorMixin is owned by the current thread,
|
||||
# otherwise raises an exception.
|
||||
def mon_check_owner
|
||||
@mon_data.mon_check_owner
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue