class ThreadLock

Attributes

thread[RW]

Public Instance Methods

lock?() click to toggle source
# File lib/casbin-ruby/util/thread_lock.rb, line 17
def lock?
  return false unless thread

  thread.active?
end