tsan: add clock abstraction
tsan: add hashtable and sync objects