Why don't you just use
$process_vars = ThreadSafeHash::ThreadSafeHash.new

$ in Ruby means global variable, this will be shorter.