new cache double check
kimmykuang opened this issue · comments
Kimmy Kuang commented
what are the advantages doing double check table name exists in cache2go.Cache?
Christian Muehlhaeuser commented
See: #11
Essentially: between read-locking and locking, the table might have been created in another thread.
Kimmy Kuang commented
thanks.
Deep-Coder-zhui commented
@muesli ,I think the RLock() may be not needed because of the double check