Sync time compare exchange
Sync time compare exchange

Summary: Similar to D7429494, this can be a CAS and save some latency for some readers.

Reviewed By: magedm

Differential Revision: D7505578

fbshipit-source-id: eeeb06c2969a74084edd3df26cf2d135b8b0e132

facebook/folly,facebook/folly,facebook/folly,facebook/folly,facebook/folly