From d2edf39feb1796e2a0a73f68a8a64fc4466fb792 Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Thu, 2 Sep 2010 16:45:33 +0200 Subject: Core/DBLayer: Remove as of recent redundant DatabaseWorkerPoolEnd operation --HG-- branch : trunk --- src/server/shared/Database/DatabaseWorkerPool.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src') diff --git a/src/server/shared/Database/DatabaseWorkerPool.h b/src/server/shared/Database/DatabaseWorkerPool.h index 2a1350888a2..8736609473a 100644 --- a/src/server/shared/Database/DatabaseWorkerPool.h +++ b/src/server/shared/Database/DatabaseWorkerPool.h @@ -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: -- cgit v1.2.3