instance method owner_status

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

owner_status(owner)

No documentation comment.

Parameters

owner req
Source
# File actionpack/lib/action_dispatch/middleware/debug_locks.rb, line 109
      def owner_status(owner)
        case owner
        when Thread then owner.status || "dead"
        when Fiber then owner.alive? ? "alive" : "dead"
        end
      end

Defined in actionpack/lib/action_dispatch/middleware/debug_locks.rb line 109 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::DebugLocks

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close