class DEBUGGER__::ProcessGroup - debug: Ruby Standard Library Documentation

# class DEBUGGER__::ProcessGroup

### Public Class Methods

new() click to toggle source

    # File debug-1.10.0/lib/debug/session.rb, line 2030
    def initialize
      @lock_file = nil
    end

### Public Instance Methods

after_fork() click to toggle source

    # File debug-1.10.0/lib/debug/session.rb, line 2054
    def after_fork
    end

lock() click to toggle source

    # File debug-1.10.0/lib/debug/session.rb, line 2042
    def lock
      true
    end

locked?() click to toggle source

    # File debug-1.10.0/lib/debug/session.rb, line 2034
    def locked?
      true
    end

multi?() click to toggle source

    # File debug-1.10.0/lib/debug/session.rb, line 2057
    def multi?
      @lock_file
    end

multi_process!() click to toggle source

    # 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() { || ... } click to toggle source

    # File debug-1.10.0/lib/debug/session.rb, line 2050
    def sync
      yield
    end

trylock() click to toggle source

    # File debug-1.10.0/lib/debug/session.rb, line 2038
    def trylock
      true
    end

unlock() click to toggle source

    # File debug-1.10.0/lib/debug/session.rb, line 2046
    def unlock
      true
    end