Add support for loadable modules on POSIX systems

This commit is contained in:
Jason Turner
2009-09-06 23:33:03 +00:00
parent cba5731576
commit 7cc6a3cab9
10 changed files with 196 additions and 10 deletions

View File

@@ -18,6 +18,11 @@ namespace chaiscript
class Thread_Storage
{
public:
~Thread_Storage()
{
m_thread_storage.reset();
}
inline T *operator->() const
{
if (!m_thread_storage.get())