This header file, ThreadSafe.h creates 2 template classes, LockedSingleton and LockedSingletonWithDetor. The boost thread and smart pointer libraries are used to provide thread safety. Declspec manglers for windows will soon be added.
This source file, TestThreadSafe.cpp illustrates the uses of these classes.
This is the doxygen documentation for these classes.