* More work on the threading stuff.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1113 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2009-12-14 21:18:51 +00:00
parent b635f8c852
commit 6a94909647
7 changed files with 101 additions and 8 deletions
+6 -1
View File
@@ -39,12 +39,14 @@
#include "thread_base.h"
#include <rak/priority_queue_default.h>
// Check if cacheline aligned with inheritance ends up taking two
// cachelines.
class __cacheline_aligned ThreadWorker : public ThreadBase {
public:
ThreadWorker() {}
ThreadWorker();
~ThreadWorker();
virtual void init_thread();
@@ -52,6 +54,9 @@ public:
static void start_log_counter(ThreadBase* thread);
private:
void task_touch_log();
rak::priority_item m_taskTouchLog;
};
#endif