Class: DEBUGGER__::ProcessGroup
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/debug/session.rb |
Class Method Summary
- .new ⇒ ProcessGroup constructor
Instance Attribute Summary
- #locked? ⇒ Boolean readonly
- #multi? ⇒ Boolean readonly
Instance Method Summary
Constructor Details
.new ⇒ ProcessGroup
# File 'lib/debug/session.rb', line 2030
def initialize @lock_file = nil end
Instance Attribute Details
#locked? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'lib/debug/session.rb', line 2034
def locked? true end
#multi? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'lib/debug/session.rb', line 2057
def multi? @lock_file end
Instance Method Details
#after_fork
[ GitHub ]# File 'lib/debug/session.rb', line 2054
def after_fork end
#lock
[ GitHub ]# File 'lib/debug/session.rb', line 2042
def lock true end
#multi_process!
[ GitHub ]# File '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
[ GitHub ]# File 'lib/debug/session.rb', line 2050
def sync yield end
#trylock
[ GitHub ]# File 'lib/debug/session.rb', line 2038
def trylock true end
#unlock
[ GitHub ]# File 'lib/debug/session.rb', line 2046
def unlock true end