diff options
author | Machiavelli <none@none> | 2010-09-02 16:45:33 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2010-09-02 16:45:33 +0200 |
commit | d2edf39feb1796e2a0a73f68a8a64fc4466fb792 (patch) | |
tree | 47e595d75af8e043e124d3703fb92d61b8ed5a11 | |
parent | 55c54c9ad2272f232b92c5b9ef6156c531858ee3 (diff) |
Core/DBLayer: Remove as of recent redundant DatabaseWorkerPoolEnd operation
--HG--
branch : trunk
-rw-r--r-- | src/server/shared/Database/DatabaseWorkerPool.h | 12 |
1 files changed, 0 insertions, 12 deletions
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: |