#ifndef _sqlite3db_\r
#define _sqlite3db_\r
\r
-//#include <zthread/Singleton.h>\r
-//#include <zthread/Mutex.h>\r
+#include <Poco/Mutex.h>\r
#include <sqlite3.h>\r
#include <string>\r
-#include "../../pthreadwrapper/mutex.h"\r
#include "../sqlite3db.h"\r
-\r
-#include "../../pthreadwrapper/singleton.h"\r
+#include "../../threadwrapper/singleton.h"\r
\r
#if SQLITE_VERSION_NUMBER<3005000\r
#error "Your version of SQLite is too old! 3.5.0 or later is required."\r
namespace SQLite3DB\r
{\r
\r
-class DB:public PThread::Singleton<DB>\r
+class DB:public Singleton<DB>\r
{\r
public:\r
DB();\r
\r
sqlite3 *GetDB() { return m_db; }\r
\r
- PThread::Mutex m_mutex; // public so that recordset and statment can lock this mutex themselves\r
+ Poco::FastMutex m_mutex; // public so that recordset and statment can lock this mutex themselves\r
\r
private:\r
void Initialize();\r