in reply to Re^2: is a readonly hash thread safe ?
in thread is a readonly hash thread safe ?

No, each thread gets its own copy. Read the tutorial, it explains the basics.