sharing atoms across threads