123456789_123456789_123456789_123456789_123456789_

Class: DEBUGGER__::ProcessGroup

Relationships & Source Files
Inherits: Object
Defined in: lib/debug/session.rb

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.newProcessGroup

[ GitHub ]

  
# File 'lib/debug/session.rb', line 1986

def initialize
  @lock_file = nil
end

Instance Attribute Details

#locked?Boolean (readonly)

[ GitHub ]

  
# File 'lib/debug/session.rb', line 1990

def locked?
  true
end

#multi?Boolean (readonly)

[ GitHub ]

  
# File 'lib/debug/session.rb', line 2013

def multi?
  @lock_file
end

Instance Method Details

#after_fork

[ GitHub ]

  
# File 'lib/debug/session.rb', line 2010

def after_fork
end

#lock

[ GitHub ]

  
# File 'lib/debug/session.rb', line 1998

def lock
  true
end

#multi_process!

[ GitHub ]

  
# File 'lib/debug/session.rb', line 2017

def multi_process!
  require 'tempfile'
  @lock_tempfile = Tempfile.open("ruby-debug-lock-")
  @lock_tempfile.close
  extend MultiProcessGroup
end

#sync

[ GitHub ]

  
# File 'lib/debug/session.rb', line 2006

def sync
  yield
end

#trylock

[ GitHub ]

  
# File 'lib/debug/session.rb', line 1994

def trylock
  true
end

#unlock

[ GitHub ]

  
# File 'lib/debug/session.rb', line 2002

def unlock
  true
end