You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I forget to use ht.write_back() to update the item.
And the code "ht = MemCacher('test.Cacher', 1024, True)" will empty the mmap file. It should change to be "ht = MemCacher('test.Cacher', 1024, False)"
Anyway, it is a really nice project.
I have test the code as follow.
set ht['b']='b'
print ht['b']
run "python -i Cacher.py"
not close this process
just print ht['b'] without setter
run "python -i Cacher2.py"
cannot get the value.
As I known, I think shared-memory could be read by two processes. How do you think about it.
The text was updated successfully, but these errors were encountered: