@Araq Thanks! This seems to work. > it's almost impossible to use these without introducing subtle races
I assume you mean races in the _user code_, rahter than the SharedTable code, I guess. But I must still ask: I've seen the "withLock" pattern used im multiple place (OK, mine was slightly changed). As long as it's not "public", I thought they could not interfere with each other? How is that possible? Is it because it's a template?