class DEBUGGER__::ProcessGroup
公共类方法
new() 点击切换源码
# File debug-1.10.0/lib/debug/session.rb, line 2030 def initialize @lock_file = nil end
公共实例方法
after_fork() 点击切换源码
# File debug-1.10.0/lib/debug/session.rb, line 2054 def after_fork end
lock() 点击切换源码
# File debug-1.10.0/lib/debug/session.rb, line 2042 def lock true end
locked?() 点击切换源码
# File debug-1.10.0/lib/debug/session.rb, line 2034 def locked? true end
multi?() 点击切换源码
# File debug-1.10.0/lib/debug/session.rb, line 2057 def multi? @lock_file end
multi_process!() 点击切换源码
# File debug-1.10.0/lib/debug/session.rb, line 2061 def multi_process! require 'tempfile' @lock_tempfile = Tempfile.open("ruby-debug-lock-") @lock_tempfile.close extend MultiProcessGroup end
sync() { || ... } 点击切换源码
# File debug-1.10.0/lib/debug/session.rb, line 2050 def sync yield end
trylock() 点击切换源码
# File debug-1.10.0/lib/debug/session.rb, line 2038 def trylock true end
unlock() 点击切换源码
# File debug-1.10.0/lib/debug/session.rb, line 2046 def unlock true end