Let's assume I have hash like:
@@foo = { 1 => 2, 2 => 3, 3 => 4}
If I want to change value of key 1 do I have to use Mutex that it's used for whole read/write protection or Mutex object which is defined for key 1 write/reads ?
I could not find detailed concept apart of that using Mutex is necessary.