Thread safety header files
Merge pull request #49 from l0rdicon/staging

Thread safety header files