Current Path : /usr/local/share/ri/1.8/system/Monitor/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/Monitor/cdesc-Monitor.yaml |
--- !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