mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-15 05:36:17 +00:00
Added names to threads.
This commit is contained in:
@@ -47,6 +47,8 @@ public:
|
|||||||
ThreadMain() {}
|
ThreadMain() {}
|
||||||
~ThreadMain();
|
~ThreadMain();
|
||||||
|
|
||||||
|
const char* name() const { return "main_rtorrent"; }
|
||||||
|
|
||||||
virtual void init_thread();
|
virtual void init_thread();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -53,6 +53,8 @@ public:
|
|||||||
ThreadWorker();
|
ThreadWorker();
|
||||||
~ThreadWorker();
|
~ThreadWorker();
|
||||||
|
|
||||||
|
const char* name() const { return "worker_rtorrent"; }
|
||||||
|
|
||||||
virtual void init_thread();
|
virtual void init_thread();
|
||||||
|
|
||||||
rpc::SCgi* scgi() { return m_safe.scgi; }
|
rpc::SCgi* scgi() { return m_safe.scgi; }
|
||||||
|
|||||||
Reference in New Issue
Block a user