mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-11 20:52:30 +00:00
Run multiple session save requests in parallel.
This commit is contained in:
@@ -15,12 +15,9 @@ public:
|
||||
static void destroy_thread();
|
||||
static ThreadSession* thread_session();
|
||||
|
||||
const char* name() const override { return "rtorrent-session"; }
|
||||
const char* name() const override { return "rtorrent-session"; }
|
||||
|
||||
void init_thread() override;
|
||||
void cleanup_thread() override;
|
||||
|
||||
SessionManager* manager() const { return m_manager.get(); }
|
||||
SessionManager* manager() const { return m_manager.get(); }
|
||||
|
||||
protected:
|
||||
friend class ThreadSessionInternal;
|
||||
@@ -29,6 +26,9 @@ protected:
|
||||
|
||||
static auto internal_thread_session() { return m_thread_session; }
|
||||
|
||||
void init_thread_pre_start() override;
|
||||
void cleanup_thread() override;
|
||||
|
||||
void call_events() override;
|
||||
std::chrono::microseconds next_timeout() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user