FTL: Add thread safety helpers

Bug: 185536303
Test: ftl_test
Change-Id: I0f0550d0608a11b137741cd94248b5bc533a0304
3 files changed