I notice there's no locking or atomic operations possible, right?
e.g. even a $database_key++ operation is going to give the wrong answer if 2 processes do that at the same time. Yes - I tested this. we get 2 FETCH, both before 2 STORE, clobbering data (no matter what mechanism is under-the-hood).Which makes me wonder - how do folks deal with using tie on multiprocess/multithread projects?
In reply to atomic tie? by cnd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |