Citadel interview question

Design a thread-safe shared counter