module Concurrent::SettableStruct

def each_pair(&block)

@!macro struct_each_pair
def each_pair(&block)
  return enum_for(:each_pair) unless block_given?
  synchronize { ns_each_pair(&block) }
end