diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2022-04-06 00:19:59 -0400 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2022-04-06 00:19:59 -0400 |
| commit | bb093ec9a8087bba0e8f6e8769dbb336a6a0aedd (patch) | |
| tree | a1ff985df49a2283060f640b3fecaa6fe86f6f2a /src/cryptonote_basic/miner.h | |
| parent | f096ac1349194c5155091d5474dd0f86ed6af617 (diff) | |
| parent | 17772ef53e57620f47c426fa4557671a86f1b3ae (diff) | |
| download | monzero-core-bb093ec9a8087bba0e8f6e8769dbb336a6a0aedd.tar.gz monzero-core-bb093ec9a8087bba0e8f6e8769dbb336a6a0aedd.tar.xz monzero-core-bb093ec9a8087bba0e8f6e8769dbb336a6a0aedd.zip | |
Merge pull request #8223
17772ef Eliminate dependence on boost::interprocess #8223 (Jeffrey)
Diffstat (limited to 'src/cryptonote_basic/miner.h')
| -rw-r--r-- | src/cryptonote_basic/miner.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_basic/miner.h b/src/cryptonote_basic/miner.h index 4fda77440..72dc12762 100644 --- a/src/cryptonote_basic/miner.h +++ b/src/cryptonote_basic/miner.h @@ -118,14 +118,14 @@ namespace cryptonote }; - volatile uint32_t m_stop; + std::atomic<bool> m_stop; epee::critical_section m_template_lock; block m_template; std::atomic<uint32_t> m_template_no; std::atomic<uint32_t> m_starter_nonce; difficulty_type m_diffic; uint64_t m_height; - volatile uint32_t m_thread_index; + std::atomic<uint32_t> m_thread_index; volatile uint32_t m_threads_total; std::atomic<uint32_t> m_threads_active; std::atomic<int32_t> m_pausers_count; |
