Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /opt/alt/ruby18/share/ri/1.8/system/Monitor/ |
Upload File : |
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "Monitors provide means of mutual exclusion for Thread programming. A critical region is created by means of the synchronize method, which takes a block. The condition variables (created with #new_cond) may be used to control the execution of a monitor with #signal and #wait." - !ruby/struct:SM::Flow::P body: the Monitor class wraps MonitorMixin, and provides aliases - !ruby/struct:SM::Flow::VERB body: " alias try_enter try_mon_enter\n alias enter mon_enter\n alias exit mon_exit\n" - !ruby/struct:SM::Flow::P body: to access its methods more concisely. constants: [] full_name: Monitor includes: - !ruby/object:RI::IncludedModule name: MonitorMixin instance_methods: [] name: Monitor superclass: Object