diff options
| author | Riccardo Spagni <ric@spagni.net> | 2017-08-15 20:54:53 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2017-08-15 20:54:53 +0200 |
| commit | 7b14a96c03093b1096854e88cebcf2715f876773 (patch) | |
| tree | cefff3cfee86a339a2f53c78a216eb445ed0ac4c /src/cryptonote_basic | |
| parent | 4bfb58328d3bddb82074a1ef171a59a428e0c85d (diff) | |
| parent | d1f204d64049f59db11844985886e523f9e21a3d (diff) | |
| download | monzero-core-7b14a96c03093b1096854e88cebcf2715f876773.tar.gz monzero-core-7b14a96c03093b1096854e88cebcf2715f876773.tar.xz monzero-core-7b14a96c03093b1096854e88cebcf2715f876773.zip | |
Merge pull request #2283
d1f204d6 miner: set thread name before logging (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_basic')
| -rw-r--r-- | src/cryptonote_basic/miner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/miner.cpp b/src/cryptonote_basic/miner.cpp index b14532d44..3c5811d61 100644 --- a/src/cryptonote_basic/miner.cpp +++ b/src/cryptonote_basic/miner.cpp @@ -412,8 +412,8 @@ namespace cryptonote bool miner::worker_thread() { uint32_t th_local_index = boost::interprocess::ipcdetail::atomic_inc32(&m_thread_index); - MGINFO("Miner thread was started ["<< th_local_index << "]"); MLOG_SET_THREAD_NAME(std::string("[miner ") + std::to_string(th_local_index) + "]"); + MGINFO("Miner thread was started ["<< th_local_index << "]"); uint32_t nonce = m_starter_nonce + th_local_index; uint64_t height = 0; difficulty_type local_diff = 0; |
