MachineIndex lock is a monitor to allow recursion
This commit is contained in:
parent
5f5d3d5ef0
commit
df4dfc36e7
|
@ -43,7 +43,7 @@ module Vagrant
|
||||||
def initialize(data_dir)
|
def initialize(data_dir)
|
||||||
@data_dir = data_dir
|
@data_dir = data_dir
|
||||||
@index_file = data_dir.join("index")
|
@index_file = data_dir.join("index")
|
||||||
@lock = Mutex.new
|
@lock = Monitor.new
|
||||||
@machines = {}
|
@machines = {}
|
||||||
@machine_locks = {}
|
@machine_locks = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue