diff options
author | fireice-uk <fireice2@o2.pl> | 2017-02-12 13:19:58 +0000 |
---|---|---|
committer | fireice-uk <fireice2@o2.pl> | 2017-02-12 13:19:58 +0000 |
commit | 433db1917e95568d56802d73213a1f4ab6782a0c (patch) | |
tree | 2e137fb23be5b58cccea53990c9c813b97501e57 /executor.h | |
parent | f91229beebb757814dfb287e40ba533c8e61bdc9 (diff) | |
download | xmr-stak-433db1917e95568d56802d73213a1f4ab6782a0c.zip xmr-stak-433db1917e95568d56802d73213a1f4ab6782a0c.tar.gz |
TLS final
Diffstat (limited to 'executor.h')
-rw-r--r-- | executor.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -27,6 +27,10 @@ public: inline void push_event(ex_event&& ev) { oEventQ.push(std::move(ev)); } void push_timed_event(ex_event&& ev, size_t sec); + constexpr static size_t invalid_pool_id = 0; + constexpr static size_t dev_pool_id = 1; + constexpr static size_t usr_pool_id = 2; + private: struct timed_event { @@ -43,12 +47,6 @@ private: // We will divide up this period according to the config setting constexpr static size_t iDevDonatePeriod = 100 * 60; - constexpr static size_t invalid_pool_id = 0; - constexpr static size_t dev_pool_id = 1; - constexpr static size_t usr_pool_id = 2; - - //std::atomic<size_t> iDevDisconnectCountdown; - //std::atomic<size_t> iReconnectCountdown; std::list<timed_event> lTimedEvents; std::mutex timed_event_mutex; thdq<ex_event> oEventQ; |