Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
locklock
master
Locklock
App
Lock
Queue
Built with Crystal 1.9.2
2023-10-07 17:18:59 UTC
class
Locklock::App
Locklock::App
Reference
Object
Defined in:
locklock/app.cr
Constructors
.new
Instance Method Summary
#get_lock
(name : String)
#lock!
(name : String)
#synchronize
(name : String, &blk)
#unlock!
(name : String)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
get_lock
(name : String)
#
[
View source
]
def
lock!
(name : String)
#
[
View source
]
def
synchronize
(name : String, &blk)
#
[
View source
]
def
unlock!
(name : String)
#
[
View source
]