mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 05:02:31 +00:00
* 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:
+6
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user