Core/DBLayer: Remove as of recent redundant DatabaseWorkerPoolEnd operation

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-09-02 16:45:33 +02:00
parent 55c54c9ad2
commit d2edf39feb

View File

@@ -40,18 +40,6 @@ enum MySQLThreadBundle
MYSQL_BUNDLE_ALL = MYSQL_BUNDLE_CLI | MYSQL_BUNDLE_RA | MYSQL_BUNDLE_RAR | MYSQL_BUNDLE_WORLD,
};
class DatabaseWorkerPoolEnd : public SQLOperation
{
public:
DatabaseWorkerPoolEnd(ACE_Condition_Thread_Mutex &mtx) : shutdown_Mtx(mtx) {}
~DatabaseWorkerPoolEnd() { shutdown_Mtx.broadcast(); } //! Tells the Worker Pool to enqueue the next DatabaseWorkerPoolEnd operation.
int call() { return -1; }
bool Execute() { return false;} //! Not called - fool the compiler
ACE_Condition_Thread_Mutex &shutdown_Mtx;
};
class DatabaseWorkerPool
{
public: