Context-Specific Synchronization for Atomic Data Types