Create threadsafety.h