Cross-platform modern atomic operations support